My .net page ouput loop is not working

lekkhjilbbgbe

New Member
This C#.net page shows a single line of output, instead of 8 lines of output. For some reason it is not executing the loop (or) not outputting to buffer/screen properly.<BR><BR><BR><%@ Page Language="C#"%><BR><html><BR> <head><BR> </head><BR> <body><BR> <center><BR> <p><BR> <% for (int i=0; i <8; i++) { %><BR> <font size="<%=i%>"> Welcome to ASP.NET </font> <BR><BR> <% }%><BR> </center><BR> </body><BR></html>I tried the same things and it works fine for me.It prints out 8 times as well.
 
Back
Top