WinForms combobox with multiple columns (C#)?

前端 未结 11 2069
轮回少年
轮回少年 2020-12-01 21:19

I am using currently the following code to populate a combobox:

combobox.DataSource = datatable;
combobox.DisplayMember = \"Auftragsnummer\";
combobox.ValueM         


        
11条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-01 21:56

    You can't have a multiple column combo-box.

    Would you not be better off using a DataGridView instead

提交回复
热议问题