i have a databound listbox that i am populating from an Access table w/o any problems. The table only has one field in it so this is a no brainer.
My problem is in getting the selected item from the listbox. when i try this with a .SelectedItem call i get "Cast from type 'DataRowView' to type 'String' is not valid."
I was doing fine getting selected values when using a Collection. My problem just started when i Bound the listbox to a dB table.
I need a clue - Thanks - tom
My problem is in getting the selected item from the listbox. when i try this with a .SelectedItem call i get "Cast from type 'DataRowView' to type 'String' is not valid."
I was doing fine getting selected values when using a Collection. My problem just started when i Bound the listbox to a dB table.
I need a clue - Thanks - tom