AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

SQL..::..ExecuteScalar Method (String, array<Object>[]()[][])

Executes a scalar query against the database.

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

Syntax


public Object ExecuteScalar(
	string commandName,
	Object[] parametersValues
)

Parameters

commandName
Type: String
The Command to execute.
parametersValues
Type: array<Object>[]()[][]
The parameters.

Return Value

The first row, first column value.