ComboBox has its old value after Clear()

前端 未结 8 957
心在旅途
心在旅途 2020-12-10 15:41

I have two comboBox cb_Brand and cb_Model on a winForm.

cb_Model populates values on brand Select. the problem is: if we sele

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 16:14

    I have same problem then I used

    combobox1.SelectedIndex=-1
    

    and it works.

提交回复
热议问题