H
Harry Haller
What's wrong with this:
Error 3 'System.Web.Caching.Cache' is a 'type', which is not valid
in the given context
public List<AssetSummary> GetAssetSummary()
{
return
(List<AssetSummary>)System.Web.Caching.Cache("assetSummary");
}
Is it telling me that I can't get a generic list out of the Cache - if
so why does it let me put it in in the first place?
OR - Will it not let me cast the Cache("assetSummary") as a generic
list?
Error 3 'System.Web.Caching.Cache' is a 'type', which is not valid
in the given context
public List<AssetSummary> GetAssetSummary()
{
return
(List<AssetSummary>)System.Web.Caching.Cache("assetSummary");
}
Is it telling me that I can't get a generic list out of the Cache - if
so why does it let me put it in in the first place?
OR - Will it not let me cast the Cache("assetSummary") as a generic
list?