Synopsis
DataSet ds
= DataRelation.DataSet;
Retrieves the DataSet
that the
DataRelation
belongs to.
Example
The following code retrieves the appropriate
DataSet
and displays some basic information about
it in a console window:
DataSet ds = dr.DataSet;
// Print the name and number of tables of the DataSet.
Console.WriteLine(ds.DataSetName, ds.Tables.Count.ToString());