protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { Gridview1.PageIndex =convert.ToInt32(Session["PageIndex"]) } }
Session["index"] = GridView1.PageIndex;
if(!Page.IsPostBack) { //bind gridview GridView1.PageIndex = Convert.ToInt32(Session["index"]); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)