Posted on: 11/28/2013 10:38:01 PM | Views : 889

i have an array with several positisons and read the array position text like "abc" then it has to go to the dropdown and select the abcbut it is not selecting i tried this:

ddl.Items.FindByText(arr[2].ToString());
arr is returning abc then it has to select on dropdown the abc text but dont work

i'm creating dropdown like this:
int y = DateTime.Now.Year; for (int i = y - 20; i <= y + 20; i++) { ddl.Items.Add(i.ToString());
}

i think its because its not adding text property but how can i do it in that for

Go to the complete details ...