开发者

Problem when trying delete item from ComboBox

开发者 https://www.devze.com 2022-12-30 05:55 出处:网络
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 i开发者

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 i开发者_如何转开发s 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消