AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

SQL..::..ExecuteScalar Method (String)

Executes a scalar query against the database.

Namespace:  AdvantageCMS.Data
Assembly:  AdvantageCMS.Data (in AdvantageCMS.Data.dll)

Syntax


public Object ExecuteScalar(
	string strSQL
)

Parameters

strSQL
Type: String
The SQL string Command to execute.

Return Value

The first row, first column value.