I’m trying to select all rows from a datatable that have column values present in a list. I would prefer to use a linq query as the list will be dynamic and not ideal for filter data table activity
For example, DT1
Col1, Col2
1, dog
2, cat
3, tree
4, big dog
list_for_col2 = “dog, cat”
The output datatable should be
DT2
Col1, Col2
1, dog
2, cat
4, big dog