[]
        
(Showing Draft Content)

C1.C1Preview.DataBinding.DataSet.-ctor

DataSet Constructor

DataSet()

Initializes a new instance of the DataSet class.

Declaration
public DataSet()
Public Sub New()

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)
Public Sub New(ds As DataSource, sql As String)
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.