Dynamicweb Namespace > Database Class : ExecuteScalar Method |
Overload | Description |
---|---|
ExecuteScalar(String) | Executes the query, and returns the first column of the first row in the resultset returned by the query. Extra columns or rows are ignored. |
ExecuteScalar(String,String) | Executes the query, and returns the first column of the first row in the resultset returned by the query. Extra columns or rows are ignored. |
ExecuteScalar(String,IDbConnection) | Executes the query, and returns the first column of the first row in the resultset returned by the query. Extra columns or rows are ignored. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2