Kentico 8.2 API Reference
Kentico 8.2 API Reference
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: 8.2.23
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) 2015 Kentico Software
Send comments on this topic to
support@kentico.com