Zanna, I've just completed some initial testing using both
data-reduction methods (Dataview.RowFilter and DataTable.Select). I
have an application the retrieves ~100K records for monitoring a
process. Each time the application retrieves the ~100K recordset
(using an IDataReader into a DataView/DataTable) I need to partition
the records into 6 different "views" (not DataViews - just
data-reduced versions of the original recordset) (3 main views and 3
subviews).
What I've noticed...
On the first use of the Dataview.RowFilter vs DataTable.Select the two
methods are virtually the same (timewise - though I think that the
Select method is a bit faster). On every successive interation,
creating a new view of the data, the Select method wins, hands-down
(much faster). Also, for creating the subviews the Select is also much
faster as it only needs to parse the already reduced recordset (where,
it appears that, the DataView.RowFilter needs to refilter against the
entire, original Dataview).
Hope this helps.
Glenn