Hi guys,
I want write the code for combobox SelectedIndexChanged in codebehind said
Please help me any idea.
please find the below code
String[] arrCountries = {"English", "France", "Greek", "Germany""};
Combobox cbo1 = new Combobox();
cbo1.ID = "cbo1";
cbo1.Width = 120;
cbo1.Height = 220;
for (int i = 0; i < arrCountries.Length; i++)
{
cbo1.AddOption(arrCountries[i], arrCountries[i],"images/" + arrCountries[i].ToLower().Replace(" ", "_") + ".gif");
}
ph1.Controls.Add(cbo1);
Regards
Sambath
...
Go to the complete details ...