摘要: public可以被任意存取; protected只可以被本类和其继承子类存取; internal只可以被本组合体(Assembly)内所有的类存取,组合体是C#语言中类被组合后的逻辑单位和物理单位,其编译后的文件扩展名往往是“.DLL”或“.EXE”。 protected internal唯一的一种组合限制修饰符,它只可以被本组合体内所有的类和这些类... 阅读全文
posted @ 2010-02-20 23:29 greencolor 阅读(383) 评论(0) 推荐(0) 编辑
摘要: usingSystem.Web.SessionStateHttpSessionState ss = HttpContext.Current.Session;HttpContext.Current.Session["test"] = "test";TextBox1.Text = ss.SessionID; 阅读全文
posted @ 2010-02-20 22:29 greencolor 阅读(182) 评论(0) 推荐(0) 编辑
摘要: If you deploy your application in a Web farm, you must ensure that the configuration files on each server share the same value for validationKey and decryptionKey<machineKey validationKey="21F09093... 阅读全文
posted @ 2010-02-20 14:41 greencolor 阅读(161) 评论(0) 推荐(0) 编辑