protected void Page_Load(object sender, EventArgs e) { int sid = Convert.ToInt32(Session["loginid"]); LibraryDAL dal = new LibraryDAL(); gv_books.DataSource = dal.Show(sid); gv_books.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { int sid = Convert.ToInt32(Session["loginid"]); LibraryDAL dal = new LibraryDAL(); gv_books.DataSource = dal.Show(sid); gv_books.DataBind(); }