Dynamically generated dropdownlist
Dear All;
I have a dynamically generated DropDownList, then I bind data from database to it. It displays the item correctly. But when I change the selected item and want to save the updated value, the selected item is always the first item, like ddl.SelectedIndex could not be changed.
Does anyone have idea or it?
Thanks.
Chen
|