Microsoft KB Archive/260881

= How To Use the DATAPAGESIZE DHTML Attribute to Control Data Display in Databound HTML Table =

Article ID: 260881

Article Last Modified on 7/13/2004

-

APPLIES TO


 * Microsoft Visual Basic, Scripting Edition 5.0
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q260881



SUMMARY
You can use Internet Explorer 5 Dynamic HTML (DHTML) extensions in client-side script to control the display (number and navigation) of records in a databound HTML table. You can use the DATAPAGESIZE attribute of the HTML

<< < > >>

 Save the file as &quot;tabAuthors.htm&quot; in a virtual folder on your Web server. Client-side script in the onClick event procedures of the  tags invoke the firstPage, previousPage, nextPage, and lastPage methods of the HTML table element to implement a page that is based on navigation and display of records. In Internet Explorer 5, open the page. When the page is loaded, notice that the HTML table displays the first five records in the Authors table. Use the navigation buttons beneath the table to scroll through the records. The DATAPAGESIZE setting ensures that only five records are displayed at a time in the HTML table.</li></ol>

Keywords: kbhowto kbdhtml KB260881

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.