I
Ilya Tumanov [MS]
It's very easy to accomplish.
For each table enumerate relations and fetch child row(s) using
DataRow.GetChildRows().
Now you can use ImportRow to add row(s) to the child table in a new DataSet.
By the way, may I ask why do you need a DataSet with a single row?
Perhaps, it would make more sense to use DataView to filter out rows you do
not need?
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
For each table enumerate relations and fetch child row(s) using
DataRow.GetChildRows().
Now you can use ImportRow to add row(s) to the child table in a new DataSet.
By the way, may I ask why do you need a DataSet with a single row?
Perhaps, it would make more sense to use DataView to filter out rows you do
not need?
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------