I take it that you are using a DataView to filter a DataTable, using the
RowFilter property, and want to have all of the rows that are excluded by
the filter to be removed from the underlying DataTable?
There is no intrinsic framework approach so you'll have to loop through each
row of the DataTable and use [DataTable].Rows.Remove(...) on each row that
contains data that is outside of your filter.
Another options is to fill the DataSet again by modifying your data access
'where' clause to provide the same semantics as the row filter.
- Dave Sexton
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.