Adding info from a database into a combo box

bouki's Avatar, Join Date: Apr 2010
Go4Expert Member
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
virxen's Avatar, Join Date: Nov 2009
Pro contributor
Code:
rdr.Item("FName" )& " " & rdr.Item("LName")
ManzZup's Avatar, Join Date: May 2009
Skilled contributor
for a combobox you can specify the data source if the database connection is established corectly