By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,033 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

How to sort items in a listbox without using the sort property?

P: 1
how to sort items in a listbox without using the sort property in vb.net?
Feb 19 '14 #1
Share this Question
Share on Google+
1 Reply


100+
P: 299
I'm not sure why you wouldn't use the sort property but there are a couple of ways..
1) Listbox.Sorted = True
2) Read all listbox items, write them to a list, sort the list, read the list, and then write the list back to the listbox
Feb 19 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.