Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

Why doesn't DataGridViewComboBoxColumn work if the DataSource has zero items?

I am using a DataGridViewComboBoxColumn in a DataGridView. When the DataSource of the DataGridViewComboBoxColumn has zero items from a SQL Select statement, all the whole will be a mash. How should I deal with this?

This has been fixed in future versions, but in Beta 1 your workaround is to add a blank item to the list.