示例#1
0
        private void LoaddataTenNCC()
        {
            // ten ncc
            cbtennhacungcap.Properties.DataSource    = muaHangBUS.LayThongTinNhaCungCapTheoTen();
            cbtennhacungcap.Properties.DisplayMember = "Nhà Phân Phối";
            cbtennhacungcap.Properties.ValueMember   = "Mã";

            // ma ncc
            cbmanhacungcap.Properties.DataSource    = muaHangBUS.LayThongTinNhaCungCapTheoMa();
            cbmanhacungcap.Properties.DisplayMember = "Mã";
            cbmanhacungcap.Properties.ValueMember   = "Nhà Phân Phối";
        }