ComponentOne DataObjects for .NET
FillSort Property (C1ExpressTable)

C1.Data.Express.2 Assembly > C1.Data.Express Namespace > C1ExpressTable Class : FillSort Property
Gets or sets the sort field or fields, and sort order for filling the table with data.
Syntax
'Declaration
 
Public Property FillSort As System.String
public System.string FillSort {get; set;}
Remarks
This property controls the order in which data rows are sorted after fetch. By default, fetched data is sorted by primary key. If a different sort is required, set this property to the sort field name(s). To specify sort order (ascending/descending), add "ASC" (ascending) or "DESC" (descending) after the field name. If no order is specified, the order is "ASC" (ascending). Multiple field names are separated with commas. Example: "CustomerID DESC, OrderID".

If the table is automatically filled at start-up time due to FillOnRequest = True, use BeforeFill event to specify FillFilter and FillSort properties.

See Also

Reference

C1ExpressTable Class
C1ExpressTable Members