Home | Advertising Info121 USERS CURRENTLY ONLINE   
   Site Search Contact Us Tuesday, October 21, 2014  
 
 


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



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


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)




ASPProtect

 
Subject: Re: getText from Combo box
From: Afolabi Arowolo
Date: 10/2/2000 7:32:49 PM
IP: 195.92.67.67



 

Errmm I couldnt quite follow your code but I think what you said you want is the ability to grab the text from a combo box, basically wha you want is i.e

<%set rs = server.createobject("adodb.recordset")
sql = "select name from daatabase"
rs.open sql, con%>

<select name="values">
<%do until rs.eof%>
<option value="<%=rs("name")%>"><%=rs("name")%>
<rs.movenext
loop%>
</select>

<rs.close
set rs = nothing
con.close
set con = nothing%>

So to answer your question how to get the value from a combo box what the above code does is pass an hidden field into the select name, so ie if you were to submit the form you,ll get the value of the hidden field being passed. I hope I,ve helped, email me back please as this is one of my first replies to a forum


Previous Message


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 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