CMSBaseDataSourceGetDataSourceFromDB Method (Int32, Int32, Int32) |
Gets data source from DB.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax 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:
ObjectDatasource from DB
See Also