NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataTable.FindRows (DataColumn, Object)

Finds and returns an array of DataRow objects with the specified value in the specified column.

[Visual Basic]
Overloads Protected Function FindRows( _
   ByVal column As DataColumn, _
   ByVal value As Object _
) As DataRow ()
[C#]
protected DataRow[] FindRows(
   DataColumn column,
   object value
);
[C++]
protected: DataRow* FindRows(
   DataColumn* column,
   Object* value
) [];
[JScript]
protected function FindRows(
   column : DataColumn,
   value : Object
) : DataRow[];

Parameters

column
The DataColumn to search in.
value
[To be supplied.]

Return Value

An array of DataRow objects containing the specified value.

Remarks

You can also use Select method to find a specific row in the DataTable. Furthermore, the Find and Contains methods of the RowsCollection also return specific rows or values in rows.

See Also

DataTable Class | DataTable Members | System.Data Namespace | DataTable.FindRows Overload List