A Question on Dropdown List

W

Wong CS

Dear all,

i hav a problem when i compile my web application... this is the SQL query i
used to insert my data into database.

string InsertBuyerDetail = @"INSERT INTO Buyer (Buy_Login, Buy_Password,
Buy_Country) Values ('"+userID.Text+"', '"+pw1.Text+"',
'"+Buyer_country+"')";

it work fine if i juz do for Buy_Login and Buy_Password but not in
Buy_Country... this is bcoz the Buy_Country is dropdown list while the other
is textbox... i dunno how to parse the dropdown list value into text...

pls advice....

thank you very much...~~~

cheers,
chunseong
 

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,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top