Hey,so as far as I see you're using entity framework in order to do this.You're trying to add 2 columns into the combobox as far as I understand.Try this as see if it works:your m
private void comboBox_PartnerSelect_SelectedIndexChanged(object sender, EventArgs e)
{
using(SimonTestDBEntities db = new SimonTestDBEntities()){
var merge = Select(c => new { Kunden_Vorname = c.Kunden_Vorname,
Name=c.Name
DisplayValue = c.Kunden_Vorname + ": " + c.Name
})
merge.ToList();
}
What I did here is I took the 2 columns and i passed the values from the database to the values that you have as a reference in your code.The DisplayValue is the DisplayMember here and the .ToList() method helps you display all the items that you have in the two columns.Hope it helps :)