DataConnector | ComponentOne
C1.AdoNet.Magento Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase Class / ExecuteScalar Method

In This Topic
    ExecuteScalar Method (C1CommandBase)
    In This Topic
    Executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.
    Syntax
    'Declaration
     
    Public Overrides Function ExecuteScalar() As Object
    public override object ExecuteScalar()

    Return Value

    The scalar result.
    See Also