Synopsis
DataRow.SetParentRow(DataRow row
);
DataRow.SetParentRow(DataRow row
, DataRelation dr
);
Sets the parent DataRow
, optionally based on a
DataRelation
.
Parameters
-
row
The new parent DataRow
.
-
dr
The DataRelation
for the parent relationship.
Example
The following example shows how to use the SetParentRow( )
:
row.SetParentRow(parentRow, "MyDataRelation");