We are using SPGridView and binding it to the database. Paging is also enabled.
The grid is showing 10 records as the pagesize is 10, but when we click on the next page it says
"There are no items to show in this view"
The PageIndexChanging event code is:
void Grid_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
Grid.PageIndex = e.NewPageIndex;
Grid.DataBind();
}
The Second problem is that when I select a row in SPGrid the date columns are empty.
Does anyone know how to do paging with SPGridView?