如果是winform的话,你可以用C1TrueDataGrid,里面支持自动的filter,你只需要设置filter bar=true就可以了,查询的时候在filter bar中输入查询值,C1TrueDataGrid自动过滤,这是我见过的比较好的了。