private void BTNagregarProveedor_Click(object sender, EventArgs e) { int idProveedor = int.Parse(idProveedorAgregarTextBox.Text); int idDistrito = int.Parse(idDistritoProveedorAgregarComboBox.SelectedItem.ToString()); sisVdatos sisV = new sisVdatos(); SqlDataReader dr = sisV.insertarProveedor(idProveedor, nombreEmpresaAgregarTextBox.Text, descripcionProveedorAgregarTextBox.Text, idDistrito, otrasSeñasProveedorAgregarTextBox.Text); MessageBox.Show(tabPage10, "!!! Se Agregó Correctamente"); idProveedorAgregarTextBox.Text = ""; nombreEmpresaAgregarTextBox.Text = ""; descripcionProveedorAgregarTextBox.Text = ""; idDistritoProveedorAgregarComboBox.Text = ""; otrasSeñasProveedorAgregarTextBox.Text = ""; cargarIdProveedorComboBox(); }