I need to display multiple pieces of data in a combobox, but I can't figure out how to do it.
Here's the code I'm trying to make work:
innerBox.DisplayMember = @"t => t.TenantName + ""\t"" + t.Property.PropertyName + ""\t"" + t.RentalUnit.UnitNumber ";
But it doesn't work, this does though:
innerBox.DisplayMember = @"t => t.TenantName";
How can I get the composite one to work?