We have used one listbox in windows form and we bind it with datasource from database.
Listbox allows multiple selected.
How can we retrive value of selected items from the list box??
we tried following thing
for(int i=0;i<lstEducation.SelectedItems.Count;i++)
MessageBox.Show(lstEducation.SelectedItems.ToString());
But it prints System.Data.DataRowView
We couldnt find the way
please help
Listbox allows multiple selected.
How can we retrive value of selected items from the list box??
we tried following thing
for(int i=0;i<lstEducation.SelectedItems.Count;i++)
MessageBox.Show(lstEducation.SelectedItems.ToString());
But it prints System.Data.DataRowView
We couldnt find the way
please help