//----------------------------------------------------------------------------------- // Actualiza Registros //----------------------------------------------------------------------------------- private void ActualizaRegistro() { string Rta = string.Empty; try { Rta = NbdiXPEpExtraccionSAP_Personal.Editar( this.txtPERNR.Text, this.txtNachn.Text, this.txtName2.Text, this.txtVorna.Text, this.txtDNI.Text, this.txtWERKS.Text, this.txtPersg.Text, this.txtKOSTL.Text); if (Rta.Equals("OK")) { this.MensajeOk("Regsitro Actualizado Correctamente"); } else { this.MensajeError("Error al Actualizar Registro "); } } catch (Exception ex) { MessageBox.Show(ex.Message + ex.StackTrace); } }