I have a combo box on a WinForms app in which an item may be selected, but it is not mandatory. I therefore need an \'Empty\' first item to indicate that no value has been s
I found another solution:
Just after your data table is created (before using fill), add new row and use AcceptChanges method to the table. The new record would get RowState = Unchanged, and would not be added to database, but would be visible in your datatable and combobox.
DataTable dt = new DataTable();
dt.Rows.Add();
dt.AcceptChanges();
...
dt.Fill("your query");