MySQL Connector/Net
MySqlHelperExecuteReader Method (MySqlConnection, String) |
Executes a single command against a MySQL database.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public static MySqlDataReader ExecuteReader( MySqlConnection connection, string commandText )
Public Shared Function ExecuteReader ( connection As MySqlConnection, commandText As String ) As MySqlDataReader
public: static MySqlDataReader^ ExecuteReader( MySqlConnection^ connection, String^ commandText )
static member ExecuteReader : connection : MySqlConnection * commandText : string -> MySqlDataReader
Parameters
- connection
- Type: MySql.Data.MySqlClientMySqlConnection
MySqlConnection object to use for the command - commandText
- Type: SystemString
Command text to use
Return Value
Type: MySqlDataReaderMySqlDataReader object ready to read the results of the command
