CMSBaseDataSource GetDataSourceFromDB Method (Int32, Int32, Int32 )Kentico 8.1 API Reference
Gets data source from DB.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

offset
Type: OnlineSystem Int32
Index of first record to get
maxRecords
Type: OnlineSystem Int32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
totalRecords
Type: OnlineSystem Int32 
Returns total number of available records

Return Value

Type: OnlineObject
Datasource from DB
See Also