A Question on Dropdown List

  • Thread starter Thread starter Wong CS
  • Start date Start date
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
 
Back
Top