DataHelperTrimDataSetPage Method |
Trims first data table from source to fit into page.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static DataSet TrimDataSetPage(
Object source,
int offset,
int pageSize,
ref int totalRecords
)
Parameters
- source
- Type: SystemObject
Data source - offset
- Type: SystemInt32
Index of first record belonging to result page - pageSize
- Type: SystemInt32
Page size - totalRecords
- Type: SystemInt32
Total records
Return Value
Type:
DataSetSee Also