appending columns in a dataset

  • Thread starter Thread starter Stephen Noronha
  • Start date Start date
S

Stephen Noronha

Hi,

is it possible for two columns to be appended from a dataset and bound to a
dropdownlist.
for example: I want to append firstName and lastName like this
ddName = ds.tables(0).Columns("FirstName") & "-" &
ds.tables(0).Columns("LastName")

but it displays an error.

Thanks,
Stephen
 
When you make the query string you do that
select id,firstname + ' ' + lastname
 

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

Back
Top