How to get the DropDownList value for a random index?


Very important: I am NOT asking about SELECTEDValue from a SelectedIndex.

How do I get the value of any index when it is not the selected index? For example, the selected index might be 5, but I want to get the value of item 9.


Try this:

string value = DropDownList1.Items[8].Value;

That will give the value at that index.