Пример #1
0
 public void load()
 {
     cmb_MaSP.DataSource        = SP.GetData();
     cmb_MaSP.DisplayMember     = "MaSP";
     cmb_MaSP.ValueMember       = "MaSP";
     cmb_MaKho.DataSource       = Kho.getdata();
     cmb_MaKho.DisplayMember    = "TenKho";
     cmb_MaKho.ValueMember      = "MaKho";
     cmb_NCC.DataSource         = NCC.GetData();
     cmb_NCC.DisplayMember      = "TenNCC";
     cmb_NCC.ValueMember        = "MaNCC";
     cmb_NgQuanLy.DataSource    = NQL.getData();
     cmb_NgQuanLy.DisplayMember = "TenQuanLy";
     cmb_NgQuanLy.ValueMember   = "MaNgQuanLy";
 }
Пример #2
0
 public void load()
 {
     dataGridView1.DataSource = SP.GetData();
 }