Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

Powlo has posted a couple of great blog posts about using SPGridView including paging.

share|improve this answer
    
i Follow the same blog. –  sbtahir Apr 19 '10 at 6:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.