public String DisplayName {get; set;}
public string DisplayValue {get { return DisplayName; } }
//PickListItemClass
public PicklistItem(IPickListItem item, bool enabled) { ID = item.ID; Description = item.DisplayValue; Enabled = enabled; }
//bind databindingSource1.DataSource = data; dgvSearch.AutoGenerateColumns = false; dgvSearch.DataSource = data.ToSortableBindingList();
How do I get my dgv to display name? InvestigatorName=John Doe; InvestigatorID=2. I need the name, but I get ID.
Thank you in advance.