Filter DataTable by LINQ function with variable parameters (In/Out)

dtDestination = dtSource.AsEnumerable().Where(Function(row) arrFilterValues.Any(Function(filter) row.Field(Of String)(0).StartsWith(filter))).CopyToDataTable()

@SONYC

2 Likes