How to Select Value from Particular Index i.e. 0, 1st , 2nd ,3rd or 4th of DropDownList.
Using C#.
I have a DropDownList which have 6 items, now I like to Select 4th item form that DropDownList.
Note that the value of this item is unknown; as it may change time to time; but I know that it will be at 4th place in dropdown.
I this my try, which not working
string Item4;
item4 = DropDownList1.SelectedIndex = 3;