Table of Contents

ExecuteScalar Method

Definition

Namespace
Cuemon.Data
Assemblies
Cuemon.Data.dll
Source
src/Cuemon.Data/DataManager.cs

ExecuteScalar(DataStatement)

Executes the command statement, and returns the value from the first column of the first row in the result set. Additional columns or rows are ignored.

public object ExecuteScalar(DataStatement statement)

Parameters

statement DataStatement

The command statement to execute.

Returns

object

The first column of the first row in the result from statement.