Click here to Skip to main content
15,908,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI,,,

I have a Customer details table with a grid in a form which displays more than 10k records and i have filter options based on the Booking dates and State or Citywise or the country. Whenever i will change the Criteria for selection,it might be dates or city or state , the Grid going back to the database and fetching it back which takes too much of time than the normal.

Can anybody has the solution for the Best way for Filtering.

Tnks
Posted

An alternative example that walks through the code with explanations can be found here[^]
 
Share this answer
 
Comments
[no name] 8-May-13 9:30am    
I think, date wise is better to filter data from grid.
CHill60 8-May-13 9:39am    
Which would mean refilling the grid from the database - which is something the OP explicitly mentions in his post. You might have been better off adding a comment to the original post so that the OP gets notified of your suggestion instead of me :-)
 
Share this answer
 
After doing R&D i felt Caching the data is the best way for filtering the data which in turn increase performance and speed of a web page....

As per the Study Data Cache can hold the DataSet object...

ASP.NET Caching

Hope it will works fine
 
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