Click here to Skip to main content
15,667,475 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a C# Winform datagridView that has a dataGridViewComboboxColumn that's bound to a bindingList of objects. When I remove an item/object from my bindingList my dataGridView combobox does not show that the item has been removed until I click on a row or select an item from the dropDrow.

How do I get the combobox to reflect the changes in the bindinglist without having to click on the row?
Updated 11-Jul-12 8:08am
Sergey Alexandrovich Kryukov 11-Jul-12 14:02pm    
Maybe nearly every time you ask a question, I ask you to tag the application type or UI library to use; and/or use fully qualified names of the types, to avoid ambiguity. Why would you perceive on not doing it so hard? You are the one who is the most interested in providing proper description.
d.allen101 11-Jul-12 14:05pm    
WinForm C#

1 solution

I would suggest you use the GridView.Update() method as the last item to execute in your routine. That should refresh your GridView.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900