Combobox text when clearing items [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I'm dealing with the fact that when I clear items in a combobox programmatically, the text do not change and keep the last selected item. How can I do it? 回答1: Try comboBox.SelectedIndex = -1; Or comboBox.Items.Clear(); comboBox.ResetText(); 回答2: Another way for combo boxes: Populate comboBox1