public void TimKiem() { Models.ModSach tb = new Models.ModSach(); DataTable dt = tb.docdulieu(); dgvSach.DataSource = dt.Equals("select * from SACH where TenSach like '%" + txtTenSach.Text + "%'"); }
private void Load() { Models.ModSach tb = new Models.ModSach(); DataTable dt = tb.docdulieu(); dgvSach.DataSource = dt; }