Пример #1
0
        private void frmLapHoaDon_Load(object sender, EventArgs e)
        {
            colMa.DataSource    = myHang.HienBangHang();
            colMa.DisplayMember = "TenSP";
            colMa.ValueMember   = "MaSP";

            cmbMaKH.DataSource    = myKH.HienBangKH();
            cmbMaKH.DisplayMember = "HoTen";
            cmbMaKH.ValueMember   = "MaKhachHang";

            cmbTenNV.DataSource    = myNV.HienBangNV();
            cmbTenNV.DisplayMember = "HoTen";
            cmbTenNV.ValueMember   = "MaNhanVien";
        }
Пример #2
0
 void HienNV()
 {
     dgvDanhMuc.DataSource = myNhanVien.HienBangNV();
 }