<%@ Page Language="vb" %>
<html>
<head>
<title>Writing character output in ASP.NET</title>
<script runat="server">
Sub Page_Load()
Dim MyChars(2) As Char
Dim MyChar As Char
MyChars(0) = "A"
MyChars(1) = "B"
MyChars(2) = "C"
For Each MyChar in MyChars
Response.Write(MyChar)
Next
End Sub
</script>
</head>
<body>
<asp:label id="myMessage" runat="server"/>
</body>
</html>
|