By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,212 Members | 1,096 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,212 IT Pros & Developers. It's quick & easy.

ComboBox question - display more than one field

P: n/a
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

Dec 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<gs***@hotmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
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

Dec 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.