This is because, by default, the EnableCaching propery is set to "true". You can also find that the CacheDuration is set to "Infinite". This forces the Data in the XmlDataSource to be cached and hence the change in the underlying Data, wont get reflected.
The resolution is to set the EnableCaching property to false or specify a CacheKeyDependency, or set the CacheDuration to a lesser time.
To referesh XmlDataSource as current data put EnableCaching="false"
http://www.visli.com/
This is my technical area for troubleshooting and learning new programming skills and much more. Here, you will find answers on a wide range of technologies such as AI, Machine Learning, OpenAI, Databricks, ASP.NET, C#, Python, Microsoft Access, MySQL, Amazon Web Services, SQL Server, PL/SQL, JD Edwards, SAS, Salesforce, APIs, MVC, and many others. Please feel free to visit and join the discussion!
Showing posts with label ASP.NET 2.0: XmlDataSource - Default Caching Feature. Show all posts
Showing posts with label ASP.NET 2.0: XmlDataSource - Default Caching Feature. Show all posts
Tuesday, June 10, 2008
Subscribe to:
Posts (Atom)