Hi there,
I have a list of items of an entity framwork - current_data_list
And the following codes:
Visual Basicdata_combo_box_edit.ItemsSource = current_data_list
data_combo_box_edit.DisplayMember = "LABEL"
data_combo_box_edit.SelectedIndex = 0
This works great, but now I need to display more details in the DisplayMember e.g. LABEL and DESCRIPTION
I have tried doing
C#data_combo_box_edit.DisplayMember = "LABEL" & "SHORT_DESCRIPTION"
but it just display blank labels.
Can I know what would be the beat way to achieve what I need? I would prefer to stick to codes than to use the XAML.