I have the following code :
private void LoadCombos()
{
//
//Entity
cmbEntity.ValueMember = "ID";
cmbEntity.DisplayMember = "Name";
cmbEntity.DataSource = store.Entities; //store is an objectContext
//
}
I am trying to display Name as well as ID using this :
cmbEntity.DisplayMember = "ID+Name";
Is there a way by which I can achieve this, so as to display ID as well as name in combobox?