Skip to main content

TableQuery.Top Property

Gets or sets 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

Declaration

[LocalizableCategory(DataAccessStringId.QueryPropertyGridTableSelectionCategoryName)]
[TypeConverter(typeof(PositiveIntegerTypeConverter))]
public int Top { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the number of rows returned in the a query result set.

Remarks

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

See Also