예제 #1
0
 private void Sua_Kho_Load(object sender, EventArgs e)
 {
     cmb_NgQuanLy.DataSource    = QL.getData();
     cmb_NgQuanLy.DisplayMember = "TenQuanLy";
     cmb_NgQuanLy.ValueMember   = "MaNgQuanLy";
     txt_MaKho.Text             = fK.Lay_MaKho();
     txt_TenKho.Text            = fK.Lay_TenKho();
     txt_SDT.Text     = fK.Lay_SDTKho();
     Rtxt_DiaChi.Text = fK.Lay_DiaCHiKho();
 }
예제 #2
0
 public void load()
 {
     dataGridView1.DataSource = SPTK.GetData(Kho.Lay_MaKho());
 }