Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cant Get Code to Execute

Status
Not open for further replies.

TheDrParker

Programmer
Nov 21, 2001
55
US
Please help, I can't get this simple code to run. The loop does not run. It only prints the words once.

<%@ Page Language=&quot;VB&quot; Runat=&quot;Server&quot;%>
<html>
<body>
<% Dim I As Integer
For I = 1 to 7 %>
<font size=&quot;<%=I%>&quot;> Welcome to ASP.NET </font> <br>
<% Next %>
</body>
</html>
 
What if you tried:

<%@ Page Language=&quot;VB&quot; Runat=&quot;Server&quot;%>
<html>
<body>
<%
Dim I As Integer
For I = 1 to 7
Respone.Write(&quot;<font size=&quot; & I & &quot;>
Welcome to ASP.NET </font> <br>&quot;)
Next
%>
</body>
</html>

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top