a problem with a listview

Dec 5 2006 6:23 AM
please a have some ploblem with my listview.

i want to access in each item added in my listview by listview1.add(item);
i am locking for a method to invoke each item when i clicked on it.

For exemple in a checkedListBox
string val = checkedListBox.SelectedItem.ToString();
MessageBox.Show( val + " clicked");

I want to do the samething with my listview
string val = listview.SelectedItem.ToString();
MessageBox.Show( val + " clicked");

[email protected]