I'm initialize my ComboBox using DataSource. After that when I'm trying to remove item from ComboBox I'm getting exception: "Items collection cannot be modified when the DataSource property is set."
How can I remove items from ComboBox ?
I'm initialize my ComboBox using DataSource. After that when I'm trying to remove item from ComboBox I'm getting exception: "Items collection cannot be modified when the DataSource property is set."
How can I remove items from ComboBox ?
You should modify the datasource. Delete the item from the list that is bound to the combobox.