//----------------------------------------------------------------------------------- // Inserta Registros //----------------------------------------------------------------------------------- private void InsertaRegistro() { string Rta = string.Empty; try { Rta = NbdiXPEpExtraccionSAP_Personal.Insertar( 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 Acgregado Correctamente"); } else { this.MensajeError("Error al Insertar Registro "); } } catch (Exception ex) { MessageBox.Show(ex.Message + ex.StackTrace); } }