I want to filter a datatable with a price range. I want to remove everything that is not between (for example) 2 and 7. In SQL I would do: NOT( price between 2 and 7). But in my filter expression I cannot use the keyword ‘between’. What is the best solution?
Share
If you are referencing System.Data.DataSetExtensions (which enables LINQ for DataTables), you can do the following: