I have a dropdownlist staff.
I try to select the option by its value property.
I get the value from the datareader correctly,but when i use the following code
dr_staff.SelectedItem.value=mydr("st_staff")
only the first option is selected.The correct option is not selected.
anybody pls help.
tx
I try to select the option by its value property.
I get the value from the datareader correctly,but when i use the following code
dr_staff.SelectedItem.value=mydr("st_staff")
only the first option is selected.The correct option is not selected.
anybody pls help.
tx