views:

30

answers:

1

hey,

I want to get the value of the specifed index in a DropDownList

+5  A: 
DropDownList ddl = YourDropDownList;
//this
ddl.SelectedItem;
//or this
ddl.SelectedValue;
//or this
ddl.Items[ddl.SelectedIndex];

Any of those what you're after??

Justin
it's the third ,thanks
dotNET