Executes a single SQL command and returns the resultset in a
DataSet.
A new MySqlConnection object is created, opened, and closed during this method.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function ExecuteDataset ( _
connectionString As String, _
commandText As String _
) As DataSet |
Visual C++ |
---|
public:
static DataSet^ ExecuteDataset(
String^ connectionString,
String^ commandText
) |
Return Value
DataSet containing the resultset
See Also