views:

10

answers:

0

I recently migrated all my Datatables to List(Of), and bind it using .ItemSource. This works perfectly, but I run into a problem. Previously, I could filter the rows with SQL-like statements like this:

Dim dk As DataView
dk = DataGrid1.ItemsSource
dk.RowFilter = "ID > 10"

Now that I am using List(Of), i cannot use the rowfilter property anymore.

Is there any way to re-create something like RowFilter where I can query my Datagrid to display certain rows?