System.Data Namespace DataRow Class
Returns a version of the parent rows of a DataRow using a specified DataRelation object.
[ VB ] Overloads Public Function GetParentRows ( _ ByVal relation As DataRelation, _ ByVal version As DataRowVersion _ ) As DataRow ( ) [ C# ] public DataRow [ ] GetParentRows ( DataRelation relation, DataRowVersion version ); [ C++ ] public: DataRow* GetParentRows ( DataRelation* relation, DataRowVersion version ) [ ]; [ JScript ] public function GetParentRows ( relation : DataRelation, version : DataRowVersion ) : DataRow [ ];
An array of DataRow objects.
Use the HasVersion property to determine if the desired DataRowVersion exists.
In a DataSet, the collection of all DataRelation objects for the data set is returned by the Relations property. The DataTable also contains a collection of DataRelation objects, returned by the ParentRelations property.
DataRow Members DataRow.GetParentRows Overload List
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph