Maisie2007
Technical User
Hi,
I'm doing my first page in ASP.net but it won't execute as it's supposed to.
I installed IIS, and html works fine when I ask for the page, but not my aspx page (it shows up as just html).
Here's the code I used:
<%@Page Language="VB" Debug="True" %>
<html>
<head>
<title>Hello and Welcome Page</title>
</head>
<body>
<center>
<% Dim TextSize As Integer %>
<% For TextSize = 1 To 7 %>
<font size = <%=TextSize%>>
Hello and Welcome! <br>
</font>
<% Next %>
</center>
</body>
</html>
What might be wrong?
thanks,
Maisie
I'm doing my first page in ASP.net but it won't execute as it's supposed to.
I installed IIS, and html works fine when I ask for the page, but not my aspx page (it shows up as just html).
Here's the code I used:
<%@Page Language="VB" Debug="True" %>
<html>
<head>
<title>Hello and Welcome Page</title>
</head>
<body>
<center>
<% Dim TextSize As Integer %>
<% For TextSize = 1 To 7 %>
<font size = <%=TextSize%>>
Hello and Welcome! <br>
</font>
<% Next %>
</center>
</body>
</html>
What might be wrong?
thanks,
Maisie