健康之家

asp 页面显示 后台传的Html标签

HttpUtility.HtmlDecode(“Html标签"); //后台解码

HttpUtility.HtmlEncode(Request.Form["content"]);  //后台编码

<%=  Server.HtmlDecode(Model.contents)%>  //页面正确显示html样式

posted on 2012-12-11 17:16  gao602731501  阅读(161)  评论(0编辑  收藏  举报

健康之家