Overload List
Name | Description | |
---|---|---|
ExecuteScalar |
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
This method is used in conjunction with the properties CommandType, CommandText and Parameters.
| |
ExecuteScalar(SqlCommand) |
Executes the specified SqlCommand, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
| |
ExecuteScalar(String) |
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
|
See Also