Gets the parent row of a System.Data.DataRow using the specified DataRelation.RelationName of a System.Data.DataRelation.
- relationName
- The DataRelation.RelationName of a System.Data.DataRelation.
The parent System.Data.DataRow of the current row.
In a System.Data.DataSet, the collection of all parent System.Data.DataRelation objects for the data set is returned by the DataRow.GetParentRows(string) method.
The System.Data.DataTable also contains a collection of System.Data.DataRelation objects, returned by the DataTable.ParentRelations property.