drop down list

C

chris

I've searched postings, etc. need help on dropdownlist. Can you make the item name equal to more than one data field. I.e. in the example below I'd liek to make the viewable text USER_FNAME USER_LNAME. I've tried to add like:
ddusernames.DataTextField = ( "USER_FNAME" ) & " " & ( "USER_LNAME" )
and I've tried:
ddusernames.DataTextField = ( "USER_FNAME" )("USER_LNAME" )

Suggestions?

'create user drop-down list
ddusernames.datasource = userlist
ddusernames.DataTextField = ( "USER_FNAME" )
ddusernames.DataValueField = ( "USER_EMAIL" )
ddusernames.DataBind()

thanx!
 
A

Alvin Bruney [MVP]

no you have to manually loop thru the dataset and concat the results into
the listitem and add it into the dropdown. would be a good feature though. i
see more and more people asking for that ability
 

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

Similar Threads


Members online

Forum statistics

Threads
474,266
Messages
2,571,083
Members
48,773
Latest member
Kaybee

Latest Threads

Top