using System.Text.RegularExpressions;
arg="abc and";
str_Regex = ".*(=|and|exec|insert|select|delete|update|count|chr|mid|master|truncate|char|declare).*"
if (Regex.Matches(arg,str_Regex).Count > 0)
return false;
arg="abc and";
str_Regex = ".*(=|and|exec|insert|select|delete|update|count|chr|mid|master|truncate|char|declare).*"
if (Regex.Matches(arg,str_Regex).Count > 0)
return false;