//Hàng hóa void LoadDsHangHoa() { HangHoaBUS hangBUS = new HangHoaBUS(); dtgvHangHoa.AutoGenerateColumns = false; dtgvHangHoa.DataSource = hangBUS.LoadDsHH(); }
void LoadComboboxTenHH() { HangHoaBUS hhBUS = new HangHoaBUS(); cboTenHangHoa.DataSource = hhBUS.LoadDsHH(); cboTenHangHoa.DisplayMember = "Tenhh"; cboTenHangHoa.ValueMember = "Mahh"; }