I want to use the Caching.Cache(...) method, like so:
Cache.Insert(\"Interview Questions\", datatable, sqlcachedep)
or
Syst
It's saying the correct thing. You should try something like:
HttpContext.Current.Cache.Insert(...);
Cache.Insert is a not a static method (static methods are indicated by an "S" near the method icon in the documentation.) You need an instance to call the Insert
method on. HttpContext.Current.Cache
returns the Cache
object associated with the current application.