Click or drag to resize
CMSBaseDataSourceGetDataSourceFromDB Method (Int32, Int32, Int32)
Gets data source from DB.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
protected virtual Object GetDataSourceFromDB(
	int offset,
	int maxRecords,
	ref int totalRecords
)

Parameters

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

Return Value

Type: Object
Datasource from DB
See Also