在类中写reponse语句

原文发布时间为:2009-06-18 —— 来源于本人的百度文章 [由搬家工具导入]

在类文件中不能直接使用response.write,需要使用 System.Web.HttpContext.Current.Response.Write来调用。

原文地址:https://www.cnblogs.com/handboy/p/7153287.html