I have a DataTable (Ado.Net) with a Status column. This column contains values (in each record)
['Red', 'Green', 'Blue', 'Yellow', 'White', 'OtherColors']
I want to select all rows whose status value is not red, green, blue
What type of filter expression to use to select data with my proposed criteria. So I want to achieve some kind of thing, as we used in the sql query (WHERE Status NOT IN ("Red", "Green", "Blue")
NB: .NET 2.0 works in this project, I cannot use linq
source
share