Oracle 5.0 Reference Manual page 2052

Table of Contents

Advertisement

Overload List
Execute a single command against a MySQL database.
public static object ExecuteScalar(MySqlConnection,string);
Execute a single command against a MySQL database.
public static object ExecuteScalar(MySqlConnection,string,params MySqlParameter[]);
Execute a single command against a MySQL database.
public static object ExecuteScalar(string,string);
Execute a single command against a MySQL database.
public static object ExecuteScalar(string,string,params MySqlParameter[]);
See Also
MySqlHelper
20.2.7.1.7.1.5.1.
MySqlHelper.ExecuteScalar
Execute a single command against a MySQL database.
Syntax: Visual Basic
Overloads Public Shared Function ExecuteScalar( _
ByVal connection As MySqlConnection, _
ByVal commandText As String _
) As Object
Syntax: C#
public static object ExecuteScalar(
MySqlConnectionconnection,
stringcommandText
);
Parameters
• connection:
• commandText: Command text to use for the command
Return Value
The first column of the first row in the result set, or a null reference if the result set is empty.
See Also
MySqlHelper
20.2.7.1.7.1.5.2.
MySqlHelper.ExecuteScalar
Execute a single command against a MySQL database.
Syntax: Visual Basic
Overloads Public Shared Function ExecuteScalar( _
ByVal connection As MySqlConnection, _
ByVal commandText As String, _
ParamArray commandParameters As MySqlParameter() _
) As Object
Connector/Net API Reference
Class,
MySql.Data.MySqlClient Namespace
MySqlConnection
object to use
Class,
MySql.Data.MySqlClient
Method
Namespace,
MySqlHelper.ExecuteScalar Overload List
Method
2032

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents