Ejemplo n.º 1
0
 public void load_DS()
 {
     try
     {
         int t = gvSV.RowCount;
         for (int i = 0; i < t; i++)
         {
             bindingSource1.RemoveAt(0);
         }
         bindingSource1.DataSource = MonHoc_BUS.DSThiLai(tenMh);
         gcSV.DataSource           = bindingSource1;
     }
     catch
     {
         MessageBox.Show("Load không thành công!");
     }
 }