Ok, so I populate a listbox with a dataset like so
vb Code:
lbNucs.DataSource = ds.Tables(0) lbNucs.DisplayMember = "Analyte" lbnucs.ValueMember = "AnalytePK"
This works fine, but... I am trying to return the values of multiple selected items. It seems to only return the value of the first selected item in the group. Is it possible to do this by this method?
I have tried setting the SelectedIndex and it still only returns the value of the first item. any help would be appreciated.






Reply With Quote