From: Alan T on
I think this is a basic question:

I got a dropdownlist bind with a datasource, how do I get the value of the
selected item?
eg.
Displayed text:

Andy (ID = 3)
Apple (ID = 1)
Candy (ID = 2)
John (ID = 5)
Mandy (ID = 4)


If I select John, then I need to get the 5.


From: Mr. Arnold on
Alan T wrote:
> I think this is a basic question:
>
> I got a dropdownlist bind with a datasource, how do I get the value of the
> selected item?
> eg.
> Displayed text:
>
> Andy (ID = 3)
> Apple (ID = 1)
> Candy (ID = 2)
> John (ID = 5)
> Mandy (ID = 4)
>
>
> If I select John, then I need to get the 5.
>
>

You use the dropdownlist selected_indexed_changed event and the
dropdownlist.selected.value.