Concantenate in drop down box

J

JimS

Hello
I would like to have more than one field appear on each line in a drop down
control. How do I accomplish this.
Example LastName, FirstName, PhoneNumber.

Each is a different field in the database. I would like to have them
concantenated on one line in the drop down box.

Thanks
Tom
 
T

Tim Van Wassenhove

JimS schreef:
Each is a different field in the database. I would like to have them
concantenated on one line in the drop down box.

How are you retrieving the data from the database?

- You could concatenate in your query and fetch those 'calculated' values...

- You create a DataSet/DataTable and add a DataColumn which has it's
Expression property set to concatenate the values

- ...
 

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

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,270
Latest member
TopCryptoTwitterChannels_

Latest Threads

Top