DataConnector | ComponentOne
C1.AdoNet.CSV Assembly / C1.AdoNet.CSV Namespace / C1CSVCommand Class / ExecuteScalar Method

In This Topic
    ExecuteScalar Method (C1CSVCommand)
    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 Function ExecuteScalar() As Object
    public object ExecuteScalar()

    Return Value

    The scalar result.
    See Also