Retrieves the number of records displayed per page in a data-bound table.
Syntax
HRESULT get_dataPageSize( long *p );
Parameters
- p
- Address of a long integer that receives the number of records. Using dataPageSize, you can manage the size of the table on your page.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Use the nextPage and previousPage methods to display the subsequent and previous number of records in the table.
Sets the number of records displayed in a data-bound table.
Syntax
HRESULT put_dataPageSize( long v );
Parameters
- v
- Long integer value that specifies the number of records to display.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Use the nextPage and previousPage methods to display the subsequent and previous number of records in the table.