vb.net - how to get the selected value of dropdown list of asp.net and store in session variable? -


  dimension such as string = dropdown list. Selected item. Value  

Any help is appreciated in this statement!

I'm not sure that this is your problem, but if you have text (rather than the value) If you are looking for, you need DropDownList.SelectedItem.Text .

To store in the session, you only

the session ("yourKey") = dropdown list. Selected item. Value


Comments