|
-
May 6th, 2010, 03:52 AM
#1
Submitting part of a selected value to a database
Hi there,
I am creating a web site within Visual Web Developer. Within one of the pages, I am prefilling a drop down list. It is a a list of weeks and their description, so I have concatenated these 2 fields as one. Thus when the user selects from the list they will see week ID and description, e.g. 1 screening. However, when they click to submit, I only wish to submit the ID to a table within the database. I am looking help as to what code i need to write within the on submit button, in order to only submit first half, i.e. the ID of the slected value, to the database? Is it some sort of case statement?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|