ComboBox has its old value after Clear()

前端 未结 8 938
心在旅途
心在旅途 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.

    0 讨论(0)
  • 2020-12-10 16:15

    i had same problem now and Combobox's ResetText method solved the problem for me

    0 讨论(0)
提交回复
热议问题