Class RowsTo
Calculate number of rows to skip using either page number (positive numbers) or number of rows (negative page numbers).
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class RowsTo
Constructors
RowsTo()
Calculate number of rows to skip using either page number (positive numbers) or number of rows (negative page numbers).
Declaration
public RowsTo()
Methods
Skip(int, int)
Calculate number of rows to skip using either page number (positive numbers) or number of rows (negative page numbers).
Declaration
public static int Skip(int pageNumber, int pageSize)
Parameters
Type | Name | Description |
---|---|---|
int | pageNumber | 0-999 = page number, -1..-999 = number of rows to skip |
int | pageSize | Page size - used when page number is 0 or greater. |
Returns
Type | Description |
---|---|
int | Number of rows to skip. |