private void frmThemPX_Load(object sender, EventArgs e) { dgvSP.DataSource = hh.ShowHangHoa(""); cbChiNhanh.DataSource = cn.DisplayCustomers(); cbChiNhanh.DisplayMember = "TenCN"; cbChiNhanh.ValueMember = "MaCN"; cbChiNhanh.SelectedValue = "MaCN"; cbChiNhanh.SelectedIndex = 0; }
public void HienThi() { dataGridView1.DataSource = hh.ShowHangHoa(""); }
public void HienThi() { dgvSP.DataSource = hh.ShowHangHoa(""); }