
Listview control sort option
Pete,
Check out KB article Q319399 - HOW TO: Sort a ListView Control by a Column
in Visual Basic .NET.
To find a KB article you can type "MSKB articlenum" into Internet
Explorer's Address Bar (without the quotes) or you can go to
http://support.microsoft.com.
Kevin Williamson - Microsoft Visual Basic Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. ? 2001 Microsoft Corporation. All rights
reserved.
--------------------
| Content-Class: urn:content-classes:message
| Subject: Listview control sort option
| Date: Wed, 20 Mar 2002 06:14:03 -0800
| Lines: 13
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcHQGX0Fn9Zei4A7QxuR5jiHAzHxEw==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
| Newsgroups: microsoft.public.vb.controls
| Path: cpmsftngxa07
| Xref: cpmsftngxa07 microsoft.public.vb.controls:127850
| NNTP-Posting-Host: TKMSFTNGXA07 10.201.232.166
| X-Tomcat-NG: microsoft.public.vb.controls
|
| In VB 6 it seems that the sort option to sort on a
| specific column (or in vb.net sub item) was invoked by
| setting the sortkey property to the index of the column
| on which to base the sort.
|
| It is not clear how to do the same thing in vb.net. What
| properties or methods are available to cause a sort to
| occur using a particular sub item (or column) as the key
| to sort on?
|
| Any help here would be appreciated.
|
| Pete
|