<%@ Page %>
<script language="C#" runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
int i;
System.Collections.ArrayList myList=new System.Collections.ArrayList();
myList.Add("Zero");
myList.Add("One");
myList.Add("Two");
myList.Add("Three");
myList.Add("Four");
myList.Add("Five");
foreach (string number in myList)
{
Response.Write(number.ToString() + "<BR>");
}
}
</script>
<html>
<body>
<form id="form1" method="post" runat="server">
</form>
</body>
</html>
|