摘要: public class CacheCD{ public static string GetMessageByCache//使用方法和属性都可以被HtmlEncode()传回去 { //HttpContext context = HttpContext.Current; get { //string message = context.Cache[ "Message" ] as string; string message = HttpRuntime.Cache[ "Message" ] as string; if ( message == null ) 阅读全文
posted @ 2012-07-06 11:54 blog_yuan 阅读(647) 评论(0) 推荐(0) 编辑