Get selected value from a dropdownlist asp.net

后端 未结 2 1534
一整个雨季
一整个雨季 2021-01-25 02:17

I know this is a silly question but i can\'t find out how to get the selected value from my dropdownlist :(

Init the dropdownlist:

             SqlComman         


        
2条回答
  •  误落风尘
    2021-01-25 02:41

    have you made sure that you have set a value on the options for the value to be returned?

    something like this

    
    

提交回复
热议问题