I used listview. How I can get the selected listitems for each columnheader
Printable View
I used listview. How I can get the selected listitems for each columnheader
You mean you want to get the VALUE of say Column2 on that selected row?
Code:msgbox ListView.SelectedItem.SubItems (1)
Column 1 is SelectedItem.Text
Column 2 and beyond is what some1uk03 posted. (column 2 is Subitems(1), column 3 is Subitems (2), etc)