Initializes a new instance of the DataSet class,
assigning the data source and the SQL query.
Namespace:
C1.C1Preview.DataBindingAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public DataSet( DataSource ds, string sql ) |
Visual Basic |
---|
Public Sub New ( _ ds As DataSource, _ sql As String _ ) |
Parameters
- ds
- Type: C1.C1Preview.DataBinding..::..DataSource
The DataSource object specifying the data source for this data set.
- sql
- Type: System..::..String
The text of an SQL query that will be executed to retrieve the data.