'datasrc' Example : datasrc « Object « HTML / CSS






'datasrc' 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
Joe,Wang
Jason,Lee
Tony,Zhang
-->    
      
      








Related examples in the same category