How do I set combobox read-only or user cannot write in a combo box only can select the given items? [duplicate]

Just change the DropDownStyle to DropDownList. Or if you want it completely read only you can set Enabled = false, or if you don’t like the look of that I sometimes have two controls, one readonly textbox and one combobox and then hide the combo and show the textbox if it should be completely readonly and vice versa.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)