Hashtable: int key and string value (C#)
<%@ Page Language="C#" %> <script runat="server"> void Page_Load(){ Hashtable myHashtable = new Hashtable(); myHashtable[1] = "Canada Post"; string CountryName; CountryName = Convert.ToString(myHashtable[1]); lblOut.Text = CountryName; } </script> <html> <head> </head> <body> <form runat="server"> <asp:Label runat="server" ID = "lblOut">Label</asp:Label> </form> </body> </html>