c# - dropdownlist selectedvalue -


i've used webservice create dropdownlist of countries , i'm trying add dropdownlist selection sql database, when using ddlcountry.selectedvalue in insert statement, first value in dropdownlist showing in table. should use onselectedindexchanged somehow store value? code should using?

try using ddlcountry.selecteditem.value instead.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

c# - how to write client side events functions for the combobox items -

ssh client with paramiko (python) -