My application's ComboBox, instead of displaying the specified member, "ProcName", is displaying the ToString() method results from that member's base class. The DataSource is defined as
List<ProcTemplateRecord> procList = dbif.GetProcTemplateRecords();
...where ProcTemplateRecord is my defined class:
class BaseRecord
{
public Int32 PrimaryKey;
public String SysTime;
}
class ProcTemplateRecord : BaseRecord
{
public String ProcName;
public String Comments;
}
In my application code, this is how I connect the ComboBox to my list:
this.comboBox1.DataSource = procList;
this.comboBox1.DisplayMember = "ProcName";
this.comboBox1.ValueMember = "PrimaryKey";
Any ideas on what I'm doing wrong?

public int PrimaryKey {get; set;}public string ProcName {get; set;}