Contents of simplev.aspx:
<%@ Page Language="VB" %> <html> <head> </head> <body> <p> A Simple Loop Counter in ASP using VB </p> <p> <% ' '***declarations ' Dim i as Integer Dim outputstring as String outputstring="" for i = 1 To 10 outputstring=outputstring + "<br>loop index i=" + i.ToString() next displayresult.InnerHtml=outputstring response.write ("<p>This is a response.write inside the initial execution code block") %> <span id="displayresult" runat="server"></span> </p> <% response.write ("<p>This line is from a response.write in an execution code block after the Span tag") %> </body> </html>
***** end of file *** printed: 37 lines on: 11/23/2009 5:59:26 AM