SqlClient ExecuteScalar Method Nemiro.Data.dll
Overload List

  NameDescription
Public methodExecuteScalar 
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.
Public methodExecuteScalar(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.
Public methodExecuteScalar(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.
Top
See Also