[]
        
(Showing Draft Content)

C1.C1Preview.DataBinding.DataSet.-ctor

DataSet Constructor

DataSet()

Initializes a new instance of the DataSet class.

Declaration
public DataSet()

DataSet(DataSource, string)

Initializes a new instance of the DataSet class, assigning the data source and the SQL query.

Declaration
public DataSet(DataSource ds, string sql)
Parameters
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.