摘要:
//清除所有数据缓存IDictionaryEnumeratorCacheEnum=Cache.GetEnumerator();while(CacheEnum.MoveNext()){Cache.Remove(CacheEnum.Entry.Key.ToString());} //清除指定的数据缓存 HttpRuntime.Cache.Remove(cacheEnmu.Key.ToString()); //清除指定的页面缓存(注:在同一浏览器下要刷新一下) stringPagePath="/Default.aspx";HttpResponse.RemoveOutputCach 阅读全文