Adding Data and Sorting ListView
C#
1
Posts
1
Posters
0
Views
1
Watching
-
i have a datatable and wish to put into ListView except looping each row of my datatable and insert row by row into ListView, is there any other smarter way? i want to enable user to click on the column header to sort the records according to the header clicked, but cant figure out the clue, ListView has a property named ListView.Sorting, but it only can assign SortOrder.Acesending/Desending!! i cant understand wat is IComparer require by ListViewItemSorter!!:sigh: