The SortedList object combines the features of both the ArrayList object and the Hashtable
The SortedList object contains items in key/value pairs. A SortedList object automatically sort
the items in alphabetic or numeric order.
Items are added to the SortedList with the Add() method. A SortedList can be sized to its final
size with the TrimToSize() method.
The Below code creates a SortedList named players and four elements are added:
A SortedList object may automatically generate the text and values to the following controls:
To bind data to a RadioButtonList control, first create a RadioButtonList control (without any
asp:ListItem elements) in an .htmlx page:
Then add the script that builds the list:
Then we add a sub routine to be executed when the user clicks on an item in the RadioButtonList
control. When a radio button is clicked, a text will appear in a label:
Your Query was successfully sent!