khowell78737
Programmer
I have a dataset that is populating a combobox with the "DataSource", "ValueMember" and "DisplayMember" properties of the combo box.
I want to concancate (sp?) the values from two cells in a row to fill the "DisplayMember" property.
My code:
comboBox.DataSource = dataSet.Tables("tblCity")
comboBox.ValueMember = "fldCityID"
comboBox.DisplayMemeber = "fldCityName")
I want the "DisplayMember" property to have something like
"fldCityName, fldState"
How do I achieve this?
Thanks in advance!
Kevin
I want to concancate (sp?) the values from two cells in a row to fill the "DisplayMember" property.
My code:
comboBox.DataSource = dataSet.Tables("tblCity")
comboBox.ValueMember = "fldCityID"
comboBox.DisplayMemeber = "fldCityName")
I want the "DisplayMember" property to have something like
"fldCityName, fldState"
How do I achieve this?
Thanks in advance!
Kevin