Click or drag to resize

DataExtensionsExecuteScalar Method

Overload List
  Name Description
Public Extension Method ExecuteScalar(IDbCommand, String, Object) Executes the SQL statement using IDbCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OdbcCommand, String, Object) Executes the SQL statement using OdbcCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OdbcConnection, String, Object) Executes the SQL statement using OdbcConnection, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OleDbCommand, String, Object) Executes the SQL statement using OleDbCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OleDbConnection, String, Object) Executes the SQL statement using OleDbConnection, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(SqlCommand, String, Object) Executes the SQL statement using SqlCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(SqlConnection, String, Object) Executes the SQL statement using SqlConnection, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(IDbCommand, String, Int32, Object) Executes the SQL statement using IDbCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OdbcCommand, String, Int32, Object) Executes the SQL statement using OdbcCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OdbcConnection, String, Int32, Object) Executes the SQL statement using OdbcConnection, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OleDbCommand, String, Int32, Object) Executes the SQL statement using OleDbCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(OleDbConnection, String, Int32, Object) Executes the SQL statement using OleDbConnection, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(SqlCommand, String, Int32, Object) Executes the SQL statement using SqlCommand, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalar(SqlConnection, String, Int32, Object) Executes the SQL statement using SqlConnection, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalarTConnection(TConnection, String, Object) Executes the SQL statement using IDbConnection, and returns the value in the first column of the first row in the result set.
Public Extension Method ExecuteScalarTConnection(TConnection, String, Int32, Object) Executes the SQL statement using IDbConnection, and returns the value in the first column of the first row in the result set.
Top
See Also