Get which column is clicked in listview control
C#
2
Posts
2
Posters
0
Views
1
Watching
-
How do I get which column is clicked when I click on the column header? I know how to get the column name with this code
lstListViewColumns[1].Text;
But how do I get the name of the columnheader I clicked?
The index of the column you clicked is part of the
ColumnClickEventArgs
you receive when theColumnClick
event is fired.Regards, mav -- Black holes are the places where God divided by 0...