i want to display page number below grid view just like "page 4 of 7"
i write this code but it's not working ..
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Footer)
{
e.Row.Cells[0].Text = "page" + (GridView1.PageIndex + 1) + "of" + GridView1.PageCount;
}
}
...
Go to the complete details ...