Microsoft KB Archive/156757

= How to Dynamically Populate a Select Control with IDC =

Article ID: 156757

Article Last Modified on 6/22/2005

-

APPLIES TO


 * Microsoft Internet Information Server 1.0
 * Microsoft Internet Information Server 2.0

-



This article was previously published under Q156757



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



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.



Job Type:  <%begindetail%> <%Title%> <%enddetail%>



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 IDC database example application found on the following Web site:

http://msdn.microsoft.com/library/techart/msdn_jobforum.htm

Keywords: kbhowto kbenv KB156757

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.