|
|
|
|
|
| | |
| |
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Need a default in a drop down box from database |
|
From: |
KMorgan |
|
Date: |
10/18/2000 6:28:58 PM |
|
IP: |
209.86.154.181 |
I have a dropdown box that is populated from a database. I need to add a default option that
shows when the text box first appears, and also can be passed as the value and input back into the database. Thanks for any help you can give me.
Select name = "Course1"
<%do while RS.eof = False%>
<Option Value = "<%RS("cid")%><%TRIM(RS("cid))+": "TRIM(RS("Cname"))%></Option>
<%RS.MoveNext%>
<%Loop%>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|