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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -