Click here to Skip to main content
15,921,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai everyone

I have a query of how to sort a grid using cache. in my form ill be having textbox controls and a final save button once they click save the data vl be saved into the database and the cache and also should display in the grid view. and sorting of that grid view should be done by cache.

can any one help me out in this with code example

Thanking you in advance
Regards
Sharath
Posted

While adding data in cache add same data in dataview & while binding with grid use dataview. Do sorting through dataview. Please refer this link for dataview use.

http://msdn.microsoft.com/en-us/library/system.data.dataview.sort%28v=vs.71%29.aspx
 
Share this answer
 
 
Share this answer
 
Comments
Vani Kulkarni 28-Jun-12 6:44am    
Thanks for accepting solution :)

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