Пример #1
0
 private void ShowSubsidio()
 {
     using (ns)
     {
         dgvsubsidio.DataSource = ns.Getall();
     }
 }
Пример #2
0
 private void ShowSubsidio(string tip_subNosub)
 {
     using (ns)
     {
         ns.Tipo_subsidio       = tip_subNosub;
         dgvsubsidio.DataSource = ns.Getall();
         lbltotal.Text          = "Total registro:  " + dgvsubsidio.RowCount;
     }
 }