dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / ExecuteDataset Method / ExecuteDataset(String,String) Method
Settings to use for the connection.
The command to execute.

In This Topic
ExecuteDataset(String,String) Method
In This Topic
Executes a single SQL command and returns the resultset in a System.Data.DataSet. A new MySqlConnection object is created, opened, and closed during this method.
Syntax
'Declaration
 
Public Overloads Shared Function ExecuteDataset( _
   ByVal connectionString As String, _
   ByVal commandText As String _
) As DataSet
 

Parameters

connectionString
Settings to use for the connection.
commandText
The command to execute.

Return Value

System.Data.DataSet containing the resultset.
See Also