Populating DropDown in webform

D

dmedina

#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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top