public void LoadListLoaiDG(ref ComboBoxEx cbxLoaiDG, QDLoaiDocGiaBUS ldgBUS) { try { cbxLoaiDG.DataSource = ldgBUS.LoadBangLoaiDG(); cbxLoaiDG.DisplayMember = "TENLOAIDG"; } catch { } }
public void LoadDgvLoaiDG(ref DataGridViewX dgvLoaiDG, QDLoaiDocGiaBUS ldgBUS) { dgvLoaiDG.DataSource = ldgBUS.LoadBangLoaiDG(); }