MySQL Connector/Net |
MySqlHelper..::.ExecuteReader Method (String, String) |
MySqlHelper Class See Also Send Feedback |
Executes a single command against a MySQL database.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public static MySqlDataReader ExecuteReader( string connectionString, string commandText ) |
Visual Basic (Declaration) |
---|
Public Shared Function ExecuteReader ( _ connectionString As String, _ commandText As String _ ) As MySqlDataReader |
Visual C++ |
---|
public: static MySqlDataReader^ ExecuteReader( String^ connectionString, String^ commandText ) |
Parameters
- connectionString
- Type: System..::.String
Settings to use for this command
- commandText
- Type: System..::.String
Command text to use