DisplayMember property of a ComboBox

  • Thread starter Thread starter David
  • Start date Start date
D

David

Hi,

I would like to assign the DisplayMember property of a ComboBox
(Windows.Forms), in order that the ComboBox will show a concatenation
of two table columns. Is it possible?

Thanks,
David
 
Hi David,

You might create a third DataColumn for your table, set its expression to
something like: "onecolumn + othercolumn" and set this column's name for
DisplayMember.
 
Back
Top