471,605 Members | 1,675 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

ComboBox question - display more than one field

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
1 2048
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.

Similar topics

reply views Thread by dbuchanan | last post: by
4 posts views Thread by JJGarcia | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.