Click to return to the Reusing Browser Technology home page    
IHTMLTable::get_cols Meth...     IHTMLTable::get_frame Met...     IHTMLTable Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLTable::get_dataPageSize Method


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.


IHTMLTable::put_dataPageSize Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.