We are using SPGridView , and binding it withto the database.The Paging inis also enable, Gridenabled.
The grid is showing 10 records in the grid as the pagesize is 10, btbut 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)
{"There are no items to show in this view"
Grid.PageIndex = e.NewPageIndex; Grid.DataBind(); }The PageIndexChanging event code is:
void Grid_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
Grid.PageIndex = e.NewPageIndex;
Grid.DataBind();
}
and The Second problem is that when iI select a row in spgridSPGrid the date columns getare empty.
doesDoes anyone know how to do paging with SPGridView? SAAD