Cuemon .NET Framework
ExecuteScalarAs Method

Executes the command statement, and returns the value as TResult from the first column of the first row in the result set. Additional columns or rows are ignored.
Overload List
OverloadDescription
ExecuteScalarAs<TResult>(IDataCommand,IDataParameter[])Executes the command statement, and returns the value as TResult from the first column of the first row in the result set. Additional columns or rows are ignored.  
ExecuteScalarAs<TResult>(IDataCommand,IFormatProvider,IDataParameter[])Executes the command statement, and returns the value as TResult from the first column of the first row in the result set. Additional columns or rows are ignored.  
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

See Also

Reference

DataManager Class
DataManager Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback