日期:2014-05-17  浏览次数:20521 次

Response.Write() html代码为什么以文本的形式出现了
用response.write()方法填充html流结果显示成文本来了。。请问什么原因
aps.net html response.write

------解决方案--------------------
response.write(httputility.htmldecode(文本))
------解决方案--------------------
 string text = "...";//这里你的大段的文本txt
            string newText = HttpUtility.HtmlDecode(text);//把这个newText刷到页面上

------解决方案--------------------
楼上两位都已给出正解