2012年5月14日

为啥这样写无法过滤掉字段里面的html字符呢?

摘要: AAA.aspx.cs public string strvalue(string value, int length) { if (value.Length > length) { value = value.Substring(0, length); value = value + "..."; return NoHTML(value); } else { return NoHTML(value); } } public static string NoHTML(string Htmlstring) { //删除脚本 Htmlstring = Regex.... 阅读全文

posted @ 2012-05-14 14:45 J--Si 阅读(138) 评论(0) 推荐(0) 编辑

导航