You need to add .ToList() to the EntitiesSet of the authors.
publishContext = new publishingCompanyEntities(); cmoAuthors.DataSource = publishContext.Authors.ToList(); cmoAuthors.DisplayMember = "FirstName"; cmoAuthors.Invalidate();
The reason is that EntitySet is not an actual collection. This is a query ( IQueryable ), and it seems that the ComboBox is not smart enough to detect this.
Calling ToList() materializes publishContext.Authors into objects.
For some reason, the ComboBox does not update its Items Collection, and then discovers a new DataSource. Invalidate() forces the control to redraw itself while updating the collection of elements.
source share