private void Showregimensalud() { using (nrs) { dgvregimensalud.DataSource = nrs.Getall(); lbltotal.Text = "Total registro: " + dgvregimensalud.RowCount; } }
private void MostrarRegimenSalud() { using (NRegimenSalud nrs = new NRegimenSalud()) { cboregimensalud.DataSource = nrs.Getall(); cboregimensalud.DisplayMember = "Descripcion"; cboregimensalud.ValueMember = "id_regimen_salud"; } }