Adding info from a database into a combo box

Go4Expert Member
13Mar2011,13:28   #1
bouki's Avatar
This code is correct...
Code:
Do While rdr.Read
            issuebook.cbmember.Items.Add(rdr.Item("FName"))
Loop

Suppose i want to add both last and first name..I tried this but getting a error
Code:
 
Do While rdr.Read
            issuebook.cbmember.Items.Add(rdr.Item("FName" & " " & "LName"))
Loop
Pro contributor
13Mar2011,18:00   #2
virxen's Avatar
Code:
rdr.Item("FName" )& " " & rdr.Item("LName")
Skilled contributor
15Mar2011,13:00   #3
ManzZup's Avatar
for a combobox you can specify the data source if the database connection is established corectly