Dim dv As New DataView(dt) ' where dt is the table to which you are applying the filter
dv.RowFilter = "id = 1" ' assuming that your datatable column name is 'id'
It's been a while since I used one so I've assumed that the filter is inclusive. Obviously, if it's not, you'll need "id <> 1"