Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 14th, 2006, 06:55 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Static Drop Down Box

Does anyone know how to setup a static drop down that will allow users to retrieve the selection from a database for example:

<select name=Test id=Test>
<option value=Null>Default</option>
<option value=1>1</option>
<option value=2>2</option>
<option value=3>3</option>
</select>

Once the user selects one of these options and saves it to a database, comes back to the page and wants to see which option they picked using the option from the database but still have the above option available to them.
 
Old February 15th, 2006, 11:25 PM
Authorized User
 
Join Date: Jan 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to InsouciantCoquette Send a message via Yahoo to InsouciantCoquette
Default


You mean to create a drop down list with values?
Code:
<SELECT NAME="Favourite">
      <OPTION VALUE="red">Red</OPTION>
      <OPTION VALUE="blue">Blue</OPTION>
       ....
       ....
</SELECT>
Well, that is actually just presenting a drop down list with staticvalues. Hope that helps you. You can google for that. It's easy.:D


* Love me for a reason; Let the reason be love *





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add static text in drop down list vinodonline2000 ASP.NET 2.0 Basics 10 August 16th, 2007 12:39 AM
non-static reports to static html files miamikk ASP.NET 2.0 Basics 0 June 4th, 2007 01:48 PM
drop down box selected value crmpicco HTML Code Clinic 1 March 31st, 2005 09:56 AM
Drop down Box NomAnor Classic ASP Basics 2 March 29th, 2004 12:21 PM
Search using drop down list box and a text box tcasp Classic ASP Basics 1 July 31st, 2003 02:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.