System.Data Namespace DataRow Class
Returns a version of the parent rows of a DataRow using a specified DataRelation name.
[ VB ] Overloads Public Function GetParentRows ( _ ByVal relationName As String, _ ByVal version As DataRowVersion _ ) As DataRow ( ) [ C# ] public DataRow [ ] GetParentRows ( string relationName, DataRowVersion version ); [ C++ ] public: DataRow* GetParentRows ( String* relationName, DataRowVersion version ) [ ]; [ JScript ] public function GetParentRows ( relationName : String, version : DataRowVersion ) : DataRow [ ];
An array of DataRow objects ( or an array of length zero ).
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