By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,694 Members | 2,122 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,694 IT Pros & Developers. It's quick & easy.

Populating DropDown in webform

P: n/a
#1) put the data in table AA and put a flag like "New
Detail" yes,no and requery you database and if user has
selected "New Detail" then add ther previous data plus the
data with the flag....

#2) when user finish entering the "new Detail option
requery your previous data from Table AA and temp data
from table BB, I am sure that the table AA and BB as the
same schema...
hope this help,
dmedina
-----Original Message-----
Hi,

I have come across a problem, and don't know which is the best way to go about it.
I have a webform, which has a textbox 'txtZip' and a dropdown 'ddDetails'.
ontextchange of txtZip, i populate the ddDetails by querying a table AA. ddDetails now contains information
such as Name, Address, City, State and Zip.
I added 'New Detail' at the bottom on the code in case the details doesn't exist in table AA.
When 'New Detail' is selected, a form is made visible and the user enters this information and the information is
now stored in a temp. table BB and i store it in XML
Format too.
Now, the problem that i am facing is that i want to populate the dropdown with this new information along with
the rest of the previous held data.
so basically, i want to populate the ddDetails with information from table AA and from the XML file.
I would like to know how do i go about it.

i can provide the code, if my explaination is confusing.

Please help me out.

I appreciate any help/advice.

--
Thank You,
Sean

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.