Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting Listview Programmatically

Status
Not open for further replies.

DerPflug

Programmer
Mar 28, 2002
153
US
How do I sort a listview control programmatically by a particular column without clicking on the column? The sorting will be done behind the scenes.
 
Will the objListView.Sorting = "Ascending" work with your objectives? Or are you trying to sort in a different manner?

Take Care,
Mike
 
If the amount of data in the listview is not too excessive, you might accomplish this by modyfiying your database query and perform the sort using the query before filling the listview.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top