private void frmDanhSachSanPhamTonKho_Load(object sender, EventArgs e) { BLL.SanPhamBLL sanPham = new BLL.SanPhamBLL(); dgvDanhSachSanPhamTonKho.DataSource = sanPham.LoadSanPhamTonKho(); }
private void txtTimKiem_TextChanged(object sender, EventArgs e) { BLL.SanPhamBLL sanPham = new BLL.SanPhamBLL(); dgvDanhSachSanPhamTonKho.DataSource = sanPham.LoadSanPhamTonKho(); }