摘要:
1.asp.net在自定义的类中引用Response,Request,Server等对象asp.net在自定义的类中引用Response,Request,Server等对象只需直接写System.Web.HttpContext.Current.Response即可,类似的有System.Web.HttpContext.Current.RequestSystem.Web.HttpContext.Current.ServerSystem.Web.HttpContext.Current.Session等例如:System.Web.HttpContext.Current.Response.Write( 阅读全文