Q: query for dropdown list

G

Guest

Hello,
I need to create a dropdown list that combines 3 fields form a table and
show it a single item in dropdownlist. So List should have rows like
Filed1-Filed2-Filed3. How can I do this?
Thanks,
Jim.
 
A

Alejandro Penate-Diaz

you do change your SQL query to join both fields and assign an alias, then
set your dropdownlist DataValue property to the alias.
 
T

T. DAVIS JR

Or, you can populate the list manually. However, using sql concantenation is
by far the easiest method
 
G

Guest

Can you give me an example?

Alejandro Penate-Diaz said:
you do change your SQL query to join both fields and assign an alias, then
set your dropdownlist DataValue property to the alias.
 

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

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top