Thursday, 8 August 2013

sorting in listview using vb.net 2008?

sorting in listview using vb.net 2008?

how will I sort my data in listview using vb.net 2008 without using the
listview1_columnclick ?
here's my code and it doesn't sort properly.
If ListView1.Sorting = SortOrder.Ascending Then
ListView1.Sorting = SortOrder.Descending
Else
ListView1.Sorting = SortOrder.Ascending
End If
many thanks for the reply.
-jane

No comments:

Post a Comment