To create one do something like this :-
 
<%
dim i
response.write "<select name=""mySelect"">" & VbCrLf
for i = 0 to 10
    response.write "    <option value=""" & i & """>" & i & "</option>"
& VbCrLf
next
response.write "</select>" & VbCrLf
%>
 
To read the chosen value :-
 
<%
response.write "User chose " & request.form("mySelect")
%>
 
Dan
 
________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Jegatha
Sent: 23 August 2005 10:07
To: Asp
Subject: [AspClassicAnyQuestionIsOk] Drop down box selection



hi all

how to write code for dropdown selection in ASP.

<%if (selectname[0].selected=true) then
------------
------
%> is it right?

jegatha

            
---------------------------------
Check out Yahoo! India Rakhi Special for Rakhi shopping, contests and
lots more. 
http://in.promos.yahoo.com/rakhi/index.html

[Non-text portions of this message have been removed]



________________________________

YAHOO! GROUPS LINKS 


        
*        Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hb5k28j/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124796069/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to