using System;





























































































































































































































































































字符过滤:
#region SQL 特殊字符过滤,防SQL注入
public string SqlFilter(string Contents)
{
Contents = Regex.Replace(Contents, "exec|insert|select|delete|'|update|chr|mid|master|truncate|char|declare", " ", RegexOptions.IgnoreCase);
return Contents;
}
#endregion