DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.AdoNet.D365S Namespace / C1D365SCommand Class / ExecuteScalar Method

In This Topic
    ExecuteScalar Method (C1D365SCommand)
    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()
    See Also