Skip to main content
A newer version of this page is available. .

TableQuery.Top Property

Gets or sets the number of rows returned in the query result set.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

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

Property Value

Type Default Description
Int32 0

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