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

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

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -