iloveorangesoda
Member
- Joined
- Feb 22, 2005
- Messages
- 7
- Programming Experience
- Beginner
Hi
I am trying to arrange my sortedlist so that it will appear in a dropdownbox in the following order:
N
Yes
No
Declined
However it is coming out in alphabetical order according to the key values, how do I change this so that it comes out like above?
code for sorted list below
Dim DropChoices As New SortedList()
DropChoices.Add("Y", "Yes")
DropChoices.Add("N", "No")
DropChoices.Add("Dec", "Declined")
DropChoices.Add("Def", "N")
I am trying to arrange my sortedlist so that it will appear in a dropdownbox in the following order:
N
Yes
No
Declined
However it is coming out in alphabetical order according to the key values, how do I change this so that it comes out like above?
code for sorted list below
Dim DropChoices As New SortedList()
DropChoices.Add("Y", "Yes")
DropChoices.Add("N", "No")
DropChoices.Add("Dec", "Declined")
DropChoices.Add("Def", "N")