Sorting a Hashtable in VB.Net/ASP.Net

  • Thread starter Thread starter Jason Kumpf
  • Start date Start date
J

Jason Kumpf

Basically I have a ASP.Net application most of which is written in .vb
codebehind with some custom classes I wrote. One class builds a
hashtable from names of people from a database. I need to sort the
hashtable or sort the list box that I am listing the values from the
hashtable in alphabetic order. I have been searching for a few hours
now and only seem to find this issue answered in C# but what about in
VB.Net?

I am a former perl programmer and find it hard to believe that
something this simple in Perl is so hard to accomplish in VB.Net. I
will be the first to admit I am new to .Net development and maybe I am
overlooking something or just not grasping the methodology that .Net
is following on this subject.
 
Use the C# code, and translate it into VB.Net. Better yet, use a sortable
Collection, such as a SortedList.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top