HTML/CSS/Object Attributes/datapagesize

Материал из Web эксперт
Перейти к: навигация, поиск

"datapagesize" Example

    
<HTML>
<BODY>
<table bgcolor="#00ffff" 
       border=1 datasrc="#dataSrc" 
       datapagesize="10">
       <tr>
          <td>
          <input type=textbox size=30 value="This is the first record" datafld="firstname"></td>
       </tr>
       <tr>
          <td>
          <input type=textbox size=30 value="This is the second record" datafld="lastname"></td>
       </tr>
</table>
<object id="dataSrc" 
        classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
        <param name="DataURL" value="myfile.csv">
        <param name="UseHeader" value="True">
        <param name="TextQualifier" value=""">
</object>
</object>
</BODY>
</HTML>  
    
    
    
<!-- myfile.csv  -->
<!--
firstname:string,lastname:string,birth:int
Joe,Wang,1978
Jason,Lee,1956
Tony,Zhang,1987
-->