Gets an array of all System.Data.DataRow objects that match the filter criteria, in the specified sort order.
- filterExpression
- The criteria to use to filter the rows. For examples on how to filter rows, see tp://www.csharp-examples.net/dataview-rowfilter/.
- sort
- A string specifying the column and sort direction.
An array of System.Data.DataRow objects matching the filter expression.
To form the filterExpression argument, use the same rules for creating the System.Data.DataColumn class's DataColumn.Expression property value. The Sort argument also uses the same rules for creating class's DataColumn.Expression strings.
If the column on the filter contains a null value, it will not be part of the result.