Home | Advertising Info355 USERS CURRENTLY ONLINE   
   Site Search Contact Us Thursday, April 26, 2018  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: help needed urgently on displaying contents of database in combo box,on web page
From: Archana Holla
Date: 4/17/2001 12:19:08 PM


i need help about how to display contents od a database on a combo box in a html page on my website(it's a part of my project work)

i've written the code for it,but any HTML tag before the SELECT tag causes problem.No element(default)is displayed in the combo box(the drop down button has to be clicked to see the contents)
The code behaves differently when the select tag is the first tag.PLEASE CHECK THE OUTPUT OF THE CODE:

<!-- metadata type="typelib" file="c:\program files\common files\system\ado\msado15.dll"-->
<%@ language=VBScript %>
<% option explicit %>
<title>USER FORM</title>

<form action="process.asp" method="post">

NAME : <input type="text" size="30" name="strUserName" value="<%session("strUserName")%>"><br>
Email: <input type="text" size="30" name="strEmail" value="<%session("strEmail")%>"><br>

dim i
dim arr(3)
<select name="strProductName">

<% for i=0 to 2%>
<option value="<%=arr(i)%>"><%=arr(i)%></option>
<input type="submit" value="SUBMIT"><br>



Follow Up - Re: help needed urgently on displaying contents of database in combo box,on web page - J. Paul Schmidt 5/16/2001 3:00:52 AM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2018 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com