How to get a subset DataTable from another DataTable filtered by few column values?
问题 The problem I have is, my search criteria is: Row["colName"] != "abc" AND Row["colName"] != "def" AND Row["colName"] != "ghic" AND Row["colName"] != "klm" AND Row["colName"] != "xyz" AND Row["colName"] != "mnp" etc.. in other words, after my research I found something about DefaultView of the DataTable and RowFilter , but Rowfilter seems to filter only by one value. My situation is I need to filter by a bunch of values. Thanks 回答1: You could use Linq-To-DataTable and a collection of values to