mark dinesh

mark dinesh

  • NA
  • 15
  • 22.8k

GRIDVIEW + COLLECTION + PAGING

May 13 2011 2:10 AM
Thanks in Advance!!!

I have a scenario of applying paging in gridview.

data to the grid will be fetched from a collection.

Now I will apply paging to it.Lets suppose 

page size is 10 .I retrieve 50,000 records.

Now when I click any page number in the grid it has to retrive only 10 records from the collection and show that in the grid.

This benefits me in not hitting the database again and impoves my performance.

Suggest some best approach to do this ?

Answers (3)