How to Dynamically Populate a Select Control with IDC

ID: Q156757


The information in this article applies to:
  • Microsoft Internet Information Server versions 1.0, 2.0


SUMMARY

You can use the Internet Database Connector (IDC) with Internet Information Server (IIS) to populate a HTML Select form control.


MORE INFORMATION

The following HTML sample can be used in an HTX file and will illustrate how to return database information to dynamically populate a HTML form Select control.

The following form section pasted into a HTX file will dynamically populate the select control ("JobType") with the return values from the "Title" field.



<FORM>

Job Type: <SELECT NAME="JobType">
<%begindetail%>
   <option><%Title%></option>
<%enddetail%>
</select>

</FORM>
 

For more information look in Chapter 8 of the Online Documentation for IIS that details the Internet Database Connector and covers publishing dynamic data on the Web. Additionally, you can view the JobForum an IDC database example application found on the web:
http://www.microsoft.com/accessdev


Keywords          : kbenv iisodbc 
Version           : 1.0 2.0
Platform          : WINDOWS 
Issue type        : kbhowto 


Last Reviewed: May 4, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.