ExecuteScalar method

Executes a SQL SELECT statement and returns a single value.

 Visual Basic syntax
 C# syntax
 Returns
 Exceptions
 Remarks
 See also