ExecuteScalar(IDbConnection,CommandType,String,DataParameterCollection) Method
Syntax
'Declaration
Public Overloads Shared Function ExecuteScalar( _
ByVal _connection_ As IDbConnection, _
ByVal _commandType_ As CommandType, _
ByVal _commandText_ As String, _
ByVal _commandParams_ As DataParameterCollection _
) As Object
public static object ExecuteScalar(
IDbConnection _connection_,
CommandType _commandType_,
string _commandText_,
DataParameterCollection _commandParams_
)
Parameters
connection
commandType
commandText
commandParams
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family