ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1DataView Class / Sort Property

In This Topic
    Sort Property
    In This Topic
    Gets or sets a string defining a sort order of rows in this C1DataView.
    Syntax
    'Declaration
     
    Public Property Sort As System.String
    public System.string Sort {get; set;}
    Remarks
    Sort order is defined as a list of view column names breaked by comma, with optional sort direction qualifier "ASC" (ascending) or "DESC" (descending) that follows the column name. If this qualifier is omited then the ascending order is supposed. Column names can be wrapped in square brackets ("[]").

    For example:

    "OrderID, ProductID DESC, [UnitPrice] ASC"

    See Also