Concatenating Multiple Values for DataValueField

G

Guest

How can I do something like this

AuthorList.DataValueField = "au_lname" &"-"& "au_id"

I want to concatenate two columns together. Any ideas??
 
M

Marina

You can't do that. Do it in your SQL instead, so it is one column when it
comes in. Or, if you are using a datatable as the source, create an
appropriate expression column, and use that as the data value field.
 
M

Marina

What would an update mean? Which field would you be updating in any type of
scenario? No matter you accomplish this, obviously you would always have to
manually build the sql yourself, or have each column selected separately as
well, and update it appropriately.
 

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,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top