DataQueryBase TQuery  ForEachPage Method Kentico 8.0 API Reference
Executes the given action for each page (DataSet) in the results. If the query is not set up as a paged query, executes the action once with the current results.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

pageAction
Type: OnlineSystem Action TQuery 
Page action
pageSize (Optional)
Type: OnlineSystem Int32
Page size. 0 means no processing page-by-page. By default uses current paging settings.
See Also