when I try,
GridView.PageSize = 5;
GridView.AllowPaging = true;
GridView.PageIndexChanging += new GridViewPageEventHandler(GridView_PageIndexChanging);
and I got this,
void GridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
if (GridView != null)
{
GridView.PageIndex = e.NewPageIndex;
GridView.DataBind();
}
}
Why I am not able to see page numbering at all, I am 100% sure there are more then 5 rows as when I increase pageSize property I can see them.
add in code: