Hi everyone,
As the title says - I'm wanting to have multiple DataTextFields in my drop down.
Here's my code:
If databaseReader.HasRows Then
Me.DDL.DataSource = databaseReader
Me.DDL.DataTextField = "Name" 'though I'd also like Name AND Phonenumber
Me.DDL.DataValueField = "Person ID" 'When it's selected - this will be the value I want
Me.DDL.DataBind()
End IF
The above code works fine - just that it seems like I can only have one DataTextField in my drop down!
Any help will be much appreciated!
Andrew ...
Go to the complete details ...