本帖最后由 xx0xx0000 于 2011-05-21 14:03:56 编辑

解决方案 »

  1.   

    Cache 设置变量后 提示“System.Web.Caching.Cache”是“类型”,但此处被当做“变量”来使
      

  2.   

    HttpContext.Current.Cache.Add(sKey, sKey, null, DateTime.Now.AddSeconds(10), TimeSpan.Zero, System.Web.Caching.CacheItemPriority.NotRemovable, null);
        
    提示 未将对象引用设置到对象的实例求解决