MySQL Connector/Net
MySqlHelperExecuteReader Method (String, 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( string connectionString, string commandText )
Public Shared Function ExecuteReader ( connectionString As String, commandText As String ) As MySqlDataReader
public: static MySqlDataReader^ ExecuteReader( String^ connectionString, String^ commandText )
static member ExecuteReader : connectionString : string * commandText : string -> MySqlDataReader
Parameters
- connectionString
- Type: SystemString
Settings to use for this command - commandText
- Type: SystemString
Command text to use
Return Value
Type: MySqlDataReaderMySqlDataReader object ready to read the results of the command
