<%@ Page Language="C#" %>
<script runat="server">
void Page_Load(){
Hashtable myHashtable = new Hashtable();
myHashtable["UK"] = "United Kingdom";
string CountryName;
CountryName = Convert.ToString(myHashtable["uk"]);
lblOut.Text = CountryName;
}
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<asp:Label runat="server" ID = "lblOut">Label</asp:Label>
</form>
</body>
</html>
|