Click here to Skip to main content
15,912,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

I want to load data in gridview (at least 500000 records) without use paging, if any way to load data in gridview in fastest way without paging please tell me.
Posted
Comments
DamithSL 18-Feb-15 2:32am    
can you update the question with current code? from where you load the data?

No way... Why? What, are you serious?
Quote:
500000 records
Who would like to view those many records on a page? Nobody likes this and it is really bad design. Please reconsider first.

Please use "Custom Paging" or "On Demand Load while Scrolling".

Refer
1. ASP.Net GridView Custom Paging with PageSize Change Dropdown[^]
2. Load on demand data in GridView on scroll using ASP.Net and jQuery AJAX[^]
 
Share this answer
 
v2
Comments
sgupta89 18-Feb-15 2:28am    
Dear Tadit Dash

We have some issue in procedure , we can't change procedure, that's why i am not able to do that with procedure(Paging). Have you any idea without procedure(paging).
If you already have a procedure in place, then it is very easy. Please check the article. It is just storing the records in a Temporary Table and then restricting the resultant table to the number of records we need by calculating with Page Index and Page Size.

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