Skip to main content
1 of 2
sbtahir
  • 225
  • 2
  • 14

SPgridview Paging Problem

We are using SPGridView , and binding it with database.The Paging in also enable, Grid showing 10 records in the grid as the pagesize is 10, bt when we click on 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(); }

and The Second problem is that when i select a row in spgrid the date columns get empty.

does anyone know how to do paging? SAAD

sbtahir
  • 225
  • 2
  • 14