Combobox with multiple columns

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Im filling a combobox from a dataset that has three columns, DealerID, DealerName, DealerState.  I can only get one column to display.  Is it possible to show two or more columns in a combobox?  My code follows:
 
adapter.Fill(datList, "tblDealerID"))
Dim drDealer as DataRow
For Each drDealer in datList.Tables("tblDealerID").Rows
cboDealer.Items.Add(drDealer("DealerID"))
Next

View the full article
 
Back
Top