G
Guest
Hi. I subclassed a ListView to give it the capability to sort by a column when the column header is clicked and it works fine. The problem is when the listview gets refreshed, all items are cleared and then read from the database and the listview is repopulated. Here it throws an exception when the 2nd item is added to the listview, apparently because it tries to compare it with the first to sort them out. Is there an easy way to sort a listview? It used to be built in VB6. I appreciate any help about this or information
Thanks in advance
Thanks in advance