コード例 #1
0
 public void KiemTra_Quyen()
 {
     txtTaiKhoan.DataBindings.Clear();
     txtTaiKhoan.DataBindings.Add("Text", dtgDangNhap.DataSource, "TaiKhoan");
     txtQuanLy.DataBindings.Clear();
     txtQuanLy.DataBindings.Add("Text", xldl.QuanLy_PQ(dl), "QuanLy");
     txtBanHang.DataBindings.Clear();
     txtBanHang.DataBindings.Add("Text", xldl.BanHang_PQ(dl), "BanHang");
     txtKho.DataBindings.Clear();
     txtKho.DataBindings.Add("Text", xldl.Kho_PQ(dl), "Kho");
     txtTongKet.DataBindings.Clear();
     txtTongKet.DataBindings.Add("Text", xldl.TongKet_PQ(dl), "TongKet");
 }