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