rowFilter=rowFilter.Replace("[", "[[ ")
.Replace("]", " ]]")
.Replace("*", "[*]")
.Replace("%", "[%]")
.Replace("[[ ", "[[]")
.Replace(" ]]", "[]]")
.Replace("\'", "''");
dv.RowFilter = "[Code] like '%" + rowFilter+ "%'";
rowFilter=rowFilter.Replace("[", "[[ ")
.Replace("]", " ]]")
.Replace("*", "[*]")
.Replace("%", "[%]")
.Replace("[[ ", "[[]")
.Replace(" ]]", "[]]")
.Replace("\'", "''");
dv.RowFilter = "[Code] like '%" + rowFilter+ "%'";