List Box SelectedID...

  • Thread starter Thread starter Kishor
  • Start date Start date
K

Kishor

Hi,

I am having a Listbox on a windows form. I am populating the list box using
this code



lstExam.DataSource = odataview

lstExam.ValueMember = "EXAMID"

lstExam.DisplayMember = "EXAMNAME"





This list box allows multiselect,



I wanted to some help from you people. How do I get a list of selected Itsms
ID. In my case EXAMID.



TIA

Kishor
 
This list box allows multiselect,



I wanted to some help from you people. How do I get a list of selected Itsms
ID. In my case EXAMID.

See the "SelectedItems" property of the ListBox.
 
Back
Top