Skip to content Skip to sidebar Skip to footer

How To Get Select Item Name From Html Select?

Use Html element SELECT in aspx page like: Data is feed

Solution 1:

Is there a reason that you aren't using the ASP.NET DropDownList?

In order to get the text from a select element you should be able to use:

MySelection.Items[MySelection.SelectedIndex].Text;

Solution 2:

My answer would be the same as @kevev22 but even easier.

MyDropDownList.Text

Post a Comment for "How To Get Select Item Name From Html Select?"