Name

FindRows

Synopsis


DataRowView[] rows = DataView.FindRows(Object sortKey);

DataRowView[] rows = DataView.FindRows(Object[] sortKey);

Returns an array with every DataRowView object that matches a specified search expression in a given DataView. If no match is found, FindRows( ) returns an empty array.

The FindRows( ) method requires exact matches. You can’t perform a partial match (for example, by supplying just a first name for the ContactName).