HTML Framework for Address Book

See Also   

The first step in building a Remote Data Service application is to set up the standard HTML Web page framework. The HTML skeleton contains the program code for the application objects you use, such as buttons, text boxes, and data-aware controls.

The following code fragment shows the HTML skeleton for the Address Book application. This part includes the standard HTML heading and page structure tags, comments identifying the application, and Web page text, font, and color information.

Comments are added at locations where the application objects (such as buttons, text boxes, and data-aware controls) are located. These are places where you can drop in your own application components. Click those placeholder comments to take you to descriptions of those parts of the application.

Note   Most of the common HTML tags, and those that define the Web page background attributes, will not be defined here. The SCRIPT tag indicates that control is passed to a scripting language—in this case, VBScript.

<HTML>
<HEAD>
<TITLE>Corporate Address Book</TITLE>
</HEAD>

<!--
   Purpose:   To provide a company directory search service for Web users.
   Written By:   Microsoft Remote Data Service Team, Microsoft Corp.
   Date:      April, 1997
-->

<BODY BACKGROUND="Arcadia.gif" LANGUAGE="VBScript" onload="Load">
<tr>
   <td align="center" width="40%">
    <table border="2" cellpadding="7" cellspacing="7">
    <tr>
      <td width="100%"><font color="#160B5A"><font
      size="4"><strong>Arcadia Bay Corporate Phone Directory</strong></font></font></td>
    </tr>
    </table>
    </td>
</tr>

<hr>
<h2><font color = "#160B5A">Search Parameters</h2>
<h5><font color = "#160B5A">Please enter one or more search patterns and press FIND to search.</h5>


<PRE>First Name
<!-- HTML CODE FOR TEXT BOXES GOES HERE -->

<!-- HTML CODE FOR COMMAND BUTTONS GOES HERE-->
<hr>
<h2><font color = "#400040">Search Results</h2>
</B>
<br>
<!-- HTML CODE FOR DATA GRID GOES HERE -->
<!-- HTML CODE FOR NAVIGATION BUTTONS GOES HERE -->

<!-- CODE FOR RDS.DATACONTROL OBJECT GOES HERE -->

<SCRIPT Language="VBScript">

<!-- VBSCRIPT CODE FOR INITIALIZING CLEARING TEXT BOXES, SUBMITTING A QUERY, NAVIGATING THROUGH THE DISPLAYED RECORDSET, SAVING CHANGES TO A RECORD, AND CANCELING ANY PENDING CHANGES GOES HERE. --> 
</SCRIPT>

<BR>
<font color = "#400040">This site powered by Microsoft Remote Data Service. </font>
</BODY>
</HTML>