//----------------------------------------------------------------------------------- // Inserta Registros //----------------------------------------------------------------------------------- private void InsertaRegistro() { string Rta = string.Empty; try { Rta = NbdiPRVpProveedor.Insertar(this.txtLIFNR.Text, this.txtName1.Text, this.txtStras.Text, this.txtSTCD1.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); } }