PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview.DataBinding Namespace / DataSet Class / DataSet Constructor / DataSet Constructor(DataSource,String)
The DataSource object specifying the data source for this data set.
The text of an SQL query that will be executed to retrieve the data.

In This Topic
    DataSet Constructor(DataSource,String)
    In This Topic
    Initializes a new instance of the DataSet class, assigning the data source and the SQL query.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal ds As DataSource, _
       ByVal sql As String _
    )
    public DataSet( 
       DataSource ds,
       string sql
    )

    Parameters

    ds
    The DataSource object specifying the data source for this data set.
    sql
    The text of an SQL query that will be executed to retrieve the data.
    See Also