After binding a list to combobox, its dataSource.Count is 5 but, combobox item count is 0. how can it be?
I\'m used to Web programming and this is in Windows Forms. So
I had the same problem, but in my case it was caused by calling
combobox.Sorted = True
in InitializeComponent. I guess that call initializes Items, which then prevents the assignment to DataSource from updating it (Items).
InitializeComponent
Items
DataSource