Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application where i display the results in some of the thousands (25-40 thousands). On one page i display 125 records. here i need to store the dataset at client side so that on next pages he can see next records without any hit on DataBase.

I tried it with ViewSate,Cache and Session Object but none of these are successfull.

1. Viewstate is taking time due to more roundtrips, but its working well on Localhost.
2. Cache is not working. Search Results are conflicting with onw and another users.
2. Session is not working. Search Results are conflicting with onw and another users.
Posted
Comments
Mahesh Bailwal 13-Jul-13 1:24am    
I believe you should cache this much amount of data in memory as it may have adverse impact on your performance and its not scalable. You should better go for retrieving Page data from SQL Server. Please check below links

http://www.codeproject.com/Articles/18148/SQL-Server-2005-Paging-Results
http://blog.sqlauthority.com/2013/04/14/sql-server-tricks-for-row-offset-and-paging-in-various-versions-of-sql-server/

1 solution

I think so any authenticated solution but I will have some idea which you follow:

1. Store all data into Browswer Cache and use any third party javascript api to access the data
3. Store all data in Cache and fetch data through Ajax call
4. Use Paging on Sql Server side and go with normal process
 
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