Select
DataRow[]selectRow
= DataTable.Select(); DataRow[]selectRow
= DataTable.Select(Stringfilter
); DataRow[]selectRow
= DataTable.Select(Stringfilter
, StringsortOrder
); DataRow[]selectRow
= DataTable.Select(Stringfilter
, StringsortOrder
, DataViewRowStatedvrs
);
Returns an array of DataRow
objects that matches
the optional filter and DataViewRowState
specified. The sort criteria can be specified to control the order of
the objects in the returned DataRow
array.
selectRow
Returns an array of DataRow
objects matching the
optional select criteria and row state, ordered as specified by the
optional sort order parameter.
filter
The filter criteria used to select the rows.
sortOrder
The sort order and direction for the returned rows within the array.
dvrs
The row state of the rows to be returned. This is a value from the
DataViewRowState
enumeration described in Table 28-1.