Click or drag to resize
DataHelperRestrictRows 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#
public static void RestrictRows(
	DataSet ds,
	int topN
)

Parameters

ds
Type: System.DataDataSet
DataSet
topN
Type: SystemInt32
Top N items
See Also