示例#1
0
 private void ShowRegimen()
 {
     using (nr)
     {
         dgvregimen.DataSource = nr.Getall();
         lbltotal.Text         = "Total registro: " + dgvregimen.Rows.Count;
     }
 }
示例#2
0
 private void Mostrar_regimenpensionario()
 {
     using (NRegimen nre = new NRegimen())
     {
         cbore_pensionario.DataSource    = nre.Getall();
         cbore_pensionario.DisplayMember = "Descripcion";
         cbore_pensionario.ValueMember   = "Codigo_Regimen";
     }
 }