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

            dgvSach.DataSource = dt;
        }