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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also