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
Post a Comment