예제 #1
0
        public void DoDuLieuVaoForm()
        {
            chucnag cn = new chucnag();

            GridView1.DataSource   = cn.GetMuonSachBySV(Session["masv"].ToString());
            GridView1.DataSourceID = null;
            GridView1.DataBind();
        }
예제 #2
0
        protected void btnTimKiem_Click(object sender, EventArgs e)
        {
            chucnag cn = new chucnag();

            GridView1.DataSource   = cn.GetMuonSachBySV(txtMaSV.Text);
            GridView1.DataSourceID = null;
            GridView1.DataBind();
        }