[]
Initializes a new instance of the DataSet class.
public DataSet()
Initializes a new instance of the DataSet class, assigning the data source and the SQL query.
public DataSet(DataSource ds, string sql)
Type | Name | Description |
---|---|---|
DataSource | ds | The DataSource object specifying the data source for this data set. |
string | sql | The text of an SQL query that will be executed to retrieve the data. |