DataTable.Select Method (String)
.NET Framework (current version)
Gets an array of all DataRow objects that match the filter criteria.
System.Data (in System.Data.dll)
member Select :
filterExpression:string -> DataRow
To create the filterExpression argument, use the same rules that apply to the DataColumn class's Expression property value for creating filters.
To ensure the proper sort order, specify sort criteria with Select or Select.
If the column on the filter contains a null value, it will not be part of the result.
The following example uses a filter expression to return an array of DataRow objects.
No code example is currently available or this language may not be supported.
Return to top
Available since 1.1