Skip to main content

SelectQuery.Top Property

Specifies the number of rows returned in the query result set.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap


public int Top { get; set; }

Property Value

Type Description

A non-negative integer value, specifying the number of selected records (starting with the first data record).


Use the TableQuery.Sorting property to predictably indicate which rows are affected by the Top property.

The default zero value indicates that all rows are selected.

See Also