Click here to Skip to main content
15,885,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all

i am binding repeater control for mega menu ,its working fine but i want to repeater do not load every time from database ,it load when any change or add in database ,please suggest me how to solve this problem or any code ?
Posted

1 solution

You can use "Caching" to do this.

VB
http://stackoverflow.com/questions/6257459/how-to-refresh-asp-net-cache-when-data-is-updated-in-database

https://msdn.microsoft.com/en-us/library/e3w8402y(v=vs.140).aspx

https://msdn.microsoft.com/en-us/library/ms178604(v=vs.140).aspx
 
Share this answer
 
Comments
manvendra patel 9-Feb-15 2:58am    
can i use json with caching ?

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