Microsoft Remote Data ServiceMicrosoft Remote Data Service*
*Contents  *Index  *Topic Contents

Add HTML Controls

  1. Search for the words "Tutorial: HTML Controls to Get Recordsets." Copy the following script and paste it under this comment.
    <BR>
    <table>
    	<tr><td>RDS Server:<td><INPUT NAME=Server SIZE=70>
    	<tr><td>Connection:<td><INPUT NAME=Connect SIZE=70>
    	<tr><td>Query:<td><INPUT NAME=SQL SIZE=70>
    </table>

    This adds some text boxes for users to specify an SQL query to send to a database (specified in the data source name) that will return a disconnected Recordset to the client.

  2. Search for the words "Tutorial: HTML Controls to Navigate the Recordset and Run the Query." Copy the following script and paste it under this comment.
    <BR>
    <BR>
    <INPUT TYPE=BUTTON NAME="First" VALUE="First" >
    <INPUT TYPE=BUTTON NAME="Next" VALUE="Next" >
    <INPUT TYPE=BUTTON NAME="Prev" VALUE="Previous" >
    <INPUT TYPE=BUTTON NAME="Last" VALUE="Last" >
    <INPUT TYPE=BUTTON NAME="Run" VALUE="Run!" >
    <INPUT TYPE=BUTTON NAME="Submit" VALUE="Submit Changes" >
    </CENTER>

    The First, Next, Previous, and Last buttons will eventually provide a mechanism for users to navigate through the displayed Recordset.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.