ListView Sorting

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Diarmuid

    #1

    ListView Sorting

    How do I sort ListViews in vb.net?
    In VB6, I would have set the sortkey = columnheader, then set
    ListView1.Sorti ng
    But, theres no sortkey in the vb.net version.
    Thanks
    Diarmuid


  • Carlos J. Quintero [VB MVP]

    #2
    Re: ListView Sorting

    In .NET the ListView has the Sort method, the SortingProperty and the
    ListViewItemSor ter (a comparer)
    --

    Best regards,

    Carlos J. Quintero

    MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
    You can code, design and document much faster.
    Free resources for add-in developers:
    MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.


    "Diarmuid" <diarmuid@deads pam.com> escribió en el mensaje
    news:u3htD3euFH A.3000@TK2MSFTN GP12.phx.gbl...[color=blue]
    > How do I sort ListViews in vb.net?
    > In VB6, I would have set the sortkey = columnheader, then set
    > ListView1.Sorti ng
    > But, theres no sortkey in the vb.net version.
    > Thanks
    > Diarmuid
    >[/color]


    Comment

    Working...