populate ddl with two fields

manared

Well-known member
Joined
Jun 1, 2006
Messages
84
Programming Experience
1-3
I think I'm having a brain fart. I'm using vb.net. I have a drop down list and I want to populate it with a name. In my SQL table, I have one field that is FirstName and another field that's LastName. I want to show the two names together (Ex. John Smith) in the drop down list. I want the value of the name to then be the table's ID field. How do I do this? And then when I have to save the name back into the database.... Do I just use split?? Thanks for the help!!!
 
Back
Top