Beispiel #1
0
        public void LoadNCC()
        {
            DataTable dt = supplierBUS.getNCC();

            cbNhaCungCap.Properties.DataSource    = dt;
            cbNhaCungCap.Properties.DisplayMember = "TenNCC";
            cbNhaCungCap.Properties.ValueMember   = "MaNCC";
            cbNhaCungCap.ItemIndex = 0;
        }
Beispiel #2
0
        public void loadNCC()
        {
            DataTable data = supBUS.getNCC();

            cbTenNCC.Properties.DataSource    = data;
            cbTenNCC.Properties.DisplayMember = "TenNCC";
            cbTenNCC.Properties.ValueMember   = "MaNCC";
            cbTenNCC.ItemIndex = 0;
        }