A newer version of this page is available.
Switch to the current version.
SelectQuery.Top Property
Specifies 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; }
<DefaultValue(0)>
<TypeConverter(GetType(PositiveIntegerTypeConverter))>
<LocalizableCategory(DataAccessStringId.QueryPropertyGridTableSelectionCategoryName)>
Public Property Top As Integer
Property Value
Type | Default | Description |
---|---|---|
Int32 | 0 |
A non-negative integer value, specifying the number of selected records (starting with the first data record). |
Remarks
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
Feedback