If you load your table and bind your combobox using my code in my response
to your other post, each entry in the combobox is a datarow, and you should
be able to pull the data like this:
Dim drv As DataRowView = CType(TableComboBox.SelectedItem, DataRowView)
Debug.Print("First Column = {0}, Second column = {1}", _
CType(drv("PubID"), Integer), drv("PublisherName").ToString)
Each item in the combobox is a datarow.
If you bind your combobox to a List(Of T), each item will be an instance of
T.
Good luck.
Robin S.
-----------------------
"Randy" <sp***********@gmail.comwrote in message
news:11**********************@y66g2000hsf.googlegr oups.com...
Here's another attempt, but it comes back empty. Why?
txtCity.Text =
PubsDS.Tables("publishers").Rows(cboPubID.Selected Index).Item(1).ToString
Please help. I'm stuck!!! Robin, my savior? Cor (I do like you, you
know)? ;^)
Randy