Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Helpers Namespaces
CMS.Helpers
DataHelper Class
DataHelper Methods
RestrictRows Method
RestrictRows Method (DataSet, Int32)
RestrictRows Method (DataSet, Int32, Int32, Int32)
DataHelper
RestrictRows Method (DataSet, Int32)
Restricts the number of rows to the top N items.
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
Copy
public
static
void
RestrictRows
(
DataSet
ds
,
int
topN
)
Parameters
ds
Type:
System.Data
DataSet
DataSet
topN
Type:
System
Int32
Top N items
See Also
Reference
DataHelper Class
RestrictRows Overload
CMS.Helpers Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com