ComboBox question - display more than one field

G

gsb58

Hi!

In MS ACCESS 2000 it is possible to set the rowsource to display two or
many fields from the tblCustomers in a combobox.

How can I do the same with a ComboBox in C# (SQL DB) say...on a
frmOrder where I have a combobox that looks up values from
tblCustomers?

Me.Name
 
N

Nicholas Paldino [.NET/C# MVP]

You can only show one value in a combobox. If you want to show more
than one, then you need to create a field/property to bind to which has the
aggregate value you want to display.

Hope this helps.
 

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

Top