I'm creating a data-driven Windows Form dialog which has two combo boxes both of which are lookups to the same table: one is HomeNationID, the other CurrentNationID looking up the Nation (NationID, Description) table.

I have set both combos to have their DataSource as my Nation table with DisplayMember as Nation.Description and ValueMember as Nation.NationID.

When I Show the form I get a runtime error Error creating window handle. (an OutOfMemoryException), it's InnerException is Object reference not set to an instance of an object., the stack trace goes back through ComboBox.SetItemsCore, ListControl.DataManager_ItemChanged and Forms.Control.UpdateBindings (with some others in between).

I can't add the Nation table a second time to the DataSet (not allowed two tables with the same name).

This doesn't seem like a particularly odd requirement - two combos with the same lookup table.