Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 May 4th, 2007, 03:17 AM
Registered User
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dual dropdown lists, add and remove

Hey folks,

I'm fairly new to ASP, and have just begun developing my first website in it before I move on to ASP.NET (but this first one has been requested to be in classic ASP). A certain function of the website would require a function for a user to select a number of areas of expertise which he/she is proficient in, and from a user perspective, this would be easier to use if it was designed as two dropdown lists next to each other, one with available areas of expertise (such as HTML, CSS, ASP, SQL etc) and another list into which the areas the user chooses are inserted by selecting an option from the lefthand list and then clicking a "Add" button.

Is this doable? I'm working with classic ASP and MySQL, the thought is that those areas available will be retrieved from the database and displayed in the lefthand list (not a problem, I got that part functioning) and then "Add" and "Remove" buttons to alter the righthand list, which values will on submit be inserted into the database.

It is much like the Blocking interface for MSN Instant Messenger, if you are familiar with that.

Thanks for any help!


"It's only after you've lost everything that you're free to do anything."  

- Fight Club
Old May 4th, 2007, 03:31 AM
Registered User
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

To further explain my goal, I believe that this ASP.NET code snippet achieves what I want to do:

I haven't tried it out, but from what the description says it should be the same.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding DropDown Lists in Asp.Net venkat_vitala ASP.NET 1.0 and 1.1 Basics 1 January 17th, 2007 09:16 AM
Linked Dropdown Lists contagiouss_blue Beginning VB 6 1 June 8th, 2005 10:35 AM
dependent dropdown lists vivshah VS.NET 2002/2003 1 March 29th, 2004 05:25 PM
2 tables and 2 dropdown lists collie Classic ASP Databases 0 October 20th, 2003 07:20 AM

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