WinForms combobox with multiple columns (C#)?
c#, combobox, winforms
Solution
You can't have multiple columns. Though you can have concatenation of multiple fields as Display Member
Check out: How do I bind a Combo so the displaymember is concat of 2 fields of source datatable?
Problem
I am using currently the following code to populate a combobox: ``` combobox.DataSource = datatable; combobox.DisplayMember = "Auftragsnummer"; combobox.ValueMember = "ID"; ``` Is there a way to display multiple columns. I tried "Auftragsnummer, Kunde, Beschreibung" for DisplayMember but it did not work.