dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / ExecuteReader Method / ExecuteReader(String,String) Method
The MySqlConnection object to use for the command.
Command text to use.

In This Topic
    ExecuteReader(String,String) Method
    In This Topic
    Executes a single command against a MySQL database, possibly inside an existing transaction, and returns MySqlDataReader as the result.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ExecuteReader( _
       ByVal connectionString As String, _
       ByVal commandText As String _
    ) As MySqlDataReader
    public static MySqlDataReader ExecuteReader( 
       string connectionString,
       string commandText
    )

    Parameters

    connectionString
    The MySqlConnection object to use for the command.
    commandText
    Command text to use.

    Return Value

    The MySqlDataReader object ready to read the results of the command.
    See Also