Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com