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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top