SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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;


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

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

Your Answer


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.