Example #1
0
        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 + "%'");
        }
Example #2
0
        private void Load()
        {
            Models.ModSach tb = new Models.ModSach();
            DataTable      dt = tb.docdulieu();

            dgvSach.DataSource = dt;
        }