Blog Archives

SortedList Example for ASP.NET in C#

The SortedList object uses a key/value combination to sort a list. The SortedList can be databound to the following ASP.NET controls: asp:RadioButtonList asp:CheckBoxList asp:DropDownList asp:ListBox Our examples will bind a SortedList to an asp:ListBox. <asp:ListBox ID=”lsbPresidents” runat=”server” /> Numeric Sort

Tagged with: , , , ,
Posted in C#, VB.NET