The dataset provides two basic constructors:
public DataSet() public DataSet(string DataSetName)
The first constructs an empty DataSet; the second constructs the DataSet with the specified name.
The following example constructs an instance of a DataSet:
[VB]
Dim workDataSet as DataSet
Set workDataSet As New DataSet() ' Empty DataSet.
' Or
Set workDataSet As New DataSet("CustomerOrders")
[C#]
DataSet workDataSet = new DataSet(); // Empty DataSet.
// Or
DataSet workDataSet = new DataSet("CustomerOrders");