D
Daryll SHatz
What object is returned by a bound (to a DataSet) ListBox when it is
iterated?
Listbox.DataSource = DataSet1.MyTable
ListBox.DisplayMember = "Col1"
ListBox.ValueMember = "Col2"
Dim s as String
For Each itm In ListBox.Items
' what goes here to output the display text for each item in the
listbox?
s = itm.?????
Next
' I need s to be the values of Col1 displayed in the listbox.
iterated?
Listbox.DataSource = DataSet1.MyTable
ListBox.DisplayMember = "Col1"
ListBox.ValueMember = "Col2"
Dim s as String
For Each itm In ListBox.Items
' what goes here to output the display text for each item in the
listbox?
s = itm.?????
Next
' I need s to be the values of Col1 displayed in the listbox.