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[];
An array of DataRow objects containing the specified value.
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.
DataTable Class | DataTable Members | System.Data Namespace | DataTable.FindRows Overload List