Can't display Data in ComboBox Control of DropDownStyle (DropDownList)
问题 I have the following requirement, I have a ComboBox Control (DropDownList Style) which user has to select a given value, but can not edit. Then I save it to a Database Table, and it's working fine. (dataRow("it_discount_profile") = Trim(cmbDisProfile.Text)) But when I try to show the same Data in the same ComboBox by retrieving it from the Database, it won't show. (cmbDisProfile.Text = Trim(tempTb.Rows(0).Item("it_discount_profile"))) When I change the ComboBox to "DropDown Style", it works.