winforms - How can i remove a item from a combobox c# -
this question has answer here:
here's situation, have make program helps management of world cup 2018 of soccer, have add teams, players, games, etc. so, when gonna register game, have combobox eliminations of cup. so, when register first game of 8 finals window close me add 8 final. so, want remove combobox game chosen before.. try comboboxgame.items.remove(comboboxgame.selecteditem) think, because of windows close up, item dont remove combobox.. can somoene me ? ps: sorry bad english ...
you've mentioned use string collection editor
string collection editor allows pre-set list of strings controls incl. combobox, means run-time initialization of control, strings have set through string collection editor added it.
how can solved? - simplest way use datasource.
Comments
Post a Comment