?
Solved

Multi Column Listview Auto Sort First Column

Posted on 2013-05-10
2
Medium Priority
?
475 Views
Last Modified: 2013-05-13
Everything I read about sorting a Listview control includes the need for a column click.  This will be a static Listview and I want it sorted 'On Load', if you will.  I have a two column Listview and I want it to sort on the first column. This sorts it, but sorts it on the second column:

 Me.ListView1.Sorting = Windows.Forms.SortOrder.Ascending

Is there a way to do this?
0
Comment
Question by:G Scott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
Michael Fowler earned 2000 total points
ID: 39157525
In the past I done the sorting in another container such as an arraylist then just added the sorted list to the listbox

Michael
0
 
LVL 1

Author Closing Comment

by:G Scott
ID: 39161000
Thanks, didn't think of that.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question