Does anyone know of a way to sort items in a listbox alphabetically since the ASP.NET listbox control does not have a "sort" property?<BR><BR>Thanks,<BR><BR>Adam Hughes<BR>email@example.com
Where are the items coming from?<BR><BR>
The items are coming out of an array.
Then sort the array!<BR><BR>Sorry that sounds pompass.<BR><BR>Ok I believe Bill Wilkinson wrote an article on sorting arrays a while back. If you seach the articles and or tips you might find it.
Check out the sorted list ... might do what you need.<BR><BR>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemcollectionssortedlistclasstopic.asp<BR>
Thanks for the tips guys! I will check all of that out.<BR><BR>Thanks,<BR><BR>Adam