Click here to Skip to main content
15,896,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello i have a button, on click of a button a pop up comes, in that i have two drop down lists how to populate the drop downs with list items.

and my drop downs list items have value field , i have a save field for my pop up if i click save the data should be saved in database..

how to write the query to save the drop down lists value field..

for example my list items is abc and its value is 001 if i click save in the pop up it should save 001 in database


ideas??
suggestions??

What I have tried:

I know how to populate drop downs on page load but dono how to do it in pop up windows.. this pop up is a bootstrap pop up..
Posted
Updated 1-Mar-17 15:55pm

1 solution

 
Share this answer
 
Comments
Mahesh2223 1-Mar-17 22:00pm    
they both are cascaded drop downs
Mahesh2223 1-Mar-17 22:05pm    
that all ok but my requirement is some wat different,, in the pop up window how to populate drop down list items.. all these articles populate the list items in page load only.
Karthik_Mahalingam 1-Mar-17 22:12pm    
modal popup is nothing but a div tag, so it will work without any issue. just you are changing the visibiliy of div to make it as modal pop up
Mahesh2223 1-Mar-17 22:16pm    
oh ok i wil try thank you..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900