System.Web.Caching.Cache cache = HttpRuntime.Cache;
IDictionaryEnumerator CacheEnum = cache.GetEnumerator();
while (CacheEnum.MoveNext())
{
cache.Remove(CacheEnum.Key.ToString());
}
labCache.Text = "共有" + Cache.Count + "项缓";
删除 Cache
最新推荐文章于 2023-08-10 00:43:12 发布