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

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
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