rowFilter 关键字处理
string rowFilter=条件字符串;
rowFilter=rowFilter.Replace("[", "[[ ")
.Replace("]", " ]]")
.Replace("*", "[*]")
.Replace("%", "[%]")
.Replace("[[ ", "[[]")
.Replace(" ]]", "[]]")
.Replace("\'", "''");
dv.RowFilter = "[Code] like '%" + rowFilter+ "%'";