Sqlcachedependency not invalidating cache 2016
If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
I've the following simple code bound to a button on a Web page string time = (string)Cache["KEY"]; if (time == null) return time; This code has to return the time value from cache.
I insert object in cache and has SQLCache Dependency linked. That means the the object is still in cache, but change on db side doesn't remove the cache entry. [:p] What you say makes me a little nervous, however, since I'm using the Sql Cache Dependency in a similar way.
if you click on the button the gridview data does not change unless y..cached that should not be cached Hi, Thanks for the support. NET 2 but my problem is that I have an web page called: that receive a query string parameter and returns an image, so I call it by: ~/inicio/extractimage.aspx?There is vast amount of date here that I want to use later to query using XPath Queries.What I wanted to do was use a Separte Cache Manager that I was going to custom build. When it stopped working, I found the items were still in cache, but it doesn't be removed when data changed. Like I think you need to use the full names in your SQL SELECT queries like dbo. Also you cannot use the aggregate functions like SUM, COUNT and things like that. You can check book online to find more restrictions. If it is not in cache, I will read it and insert it in cache before use it.
usu=25 I have a linkbutton in a grid with this link, so I refresh the Grid and the correct image should be shown.