Click here to Skip to main content
15,909,503 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to bind thousands of record to gridview , but it's taking too much time to show data.
I am using datareader to bind the data. I founds some solution but that were using paging. But problem is that i don't want to use paging in gridview.

Gridview is in a Div tag having overflow property to scroll. Suppose total records are 10000, at a time when 100 will be dispalyed (loaded from database) and when user scroll's down ,it load next 100, ....Can we do such a thing. And Can we enhance by using caching.
Posted
Updated 12-Oct-13 18:56pm
v2
Comments
Richard.Berry100 12-Oct-13 15:08pm    
I have had similar issues, but after asking a simple question: "Why would someone want to SEE thousands of rows of Data?" I ended up filtering the result set that is displayed, with the option to export larger subsets of the Data to Excel, where the user can use Excel to analyse the data

1 solution

Hi,
If you show thousand's or more than record display in gridview , definite it is take much more time.

need to improve some step:
1- check your query , if there have more than join then definite ,it is take a time.
2- if you don't want to use paging than use searching section and display top 100 or 200 record.

if you display thousands then find the exactly record , it is very typical and also take time.
so you can use searching section with all field's , then you can develop fast part and you can also save network bandwidth.

I hope that it is useful for you.

Thanks
Mohit
 
Share this answer
 

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