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 As DataSource, _
ByVal As String _
)
public DataSet(
DataSource ,
string
)
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