Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 selection of combo box in asp

views
     
rebel without a cause
post Feb 6 2006, 04:40 PM

Getting Started
**
Validating
297 posts

Joined: Jan 2003
just get the id from the combobox of selection through request.form for example and then throw into the sql statement to update or insert say something like:

update AmountTable
set ValueColumn = (select AmountColumn from FruitTable where PrimaryId = 'SelectedValue' ) + (select ValueColumn from AmountTable where PrimaryId = 'SelectedValue')
where PrimaryId = 'SelectedValue'

you need to be more specific if you want more specific answer tongue.gif

 

Change to:
| Lo-Fi Version
0.0130sec    0.26    6 queries    GZIP Disabled
Time is now: 24th December 2025 - 12:06 AM