Click here to Skip to main content
15,068,471 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to bind the Gridview with more than 10000 records?
Updated 14-Jun-11 10:54am

Why? Seriously, why?

It should bind just fine....but the browser will take forever to load, assuming the computer doesn't run out of memory in the meantime.

At a minimum, use paging on the grid.
Comments 14-Jun-11 9:19am
Thanks For your Response...!
So there's no other way of showing all the data in my page with short loading time....?
GenJerDan 14-Jun-11 9:22am
Nope. The delay won't be the data transfer from the server. It will be the rendering of the grid. I've run into this way too many times in past, even with grids of only 1000 or so records.

The best way to do is to only retrieve enough records to display on a page, then fetch more as the user wants to see more. (There are a lot of examples here and elsewhere showing how to do that.) 14-Jun-11 9:25am
yeah..Thank you ...!
Happy Coding...!
Sergey Alexandrovich Kryukov 14-Jun-11 12:38pm
Good point, my 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900