
sort a listview by column header click
Hello,
I had a problem sorting a listview, because it always
sorts on text. So numerical values are considered as text
too, and dates dito. So I wrote a function that reads the
data into an array, then sorts the data on the right
datatype and then puts it in the listview again.
If your interested in this code, send me an e-mail and I
will mail it to you.
Regards,
GAH
Quote:
>-----Original Message-----
>I would like to sort a listview by clicking on a certain
column header.
>I found some examples but none of them works.
>Can someone give me a working example for VB.net ?
>Thanks
>.