Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Can't refresh ComboBox Items.

$
0
0

Hi.
I have a combobox which is loaded from DB on form load event .

Form load even is exectuing a void E.G Void LoadCombo.

So far every thing is fine 

I have Another form in which I'm updating the table in DB from which the combobox is populated .
Then the  Void LoadCombo is fired again and even the Items.Count is different if I'm adding or deleting at the DB Table.

But The items in the dropdown list are the same items as before .

Do not suggest Items.Clear().

The only thing that refreshing the items is to crease a new combobox and add it to the Form .

What am I missing ?



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>