G
Guest
I have an asp.net webform. When I view the page in the web browser, the html
is returned but not any asp code, i.e., " <% ... %> ".
This same code works in the "old" asp page BUT NOT in asp.net.
See code below:
_________________________________________________________________-
<form action="intro2.aspx" method="post">
<h3>Name: <input id="Name" type="text"> Category:
<select id="Category" size="1">
<option>psychology</option>
<option>business</option>
<option>popular_comp</option>
</select>
</h3><input type="submit" value="Lookup">
<p>
<% Dim I As Integer
For I = 0 to 7 %>
<font size="<%=I%>">Welcome to ASP.NET </font>
<br>
<% Next %>
</form>
_____________________________________________________________
is returned but not any asp code, i.e., " <% ... %> ".
This same code works in the "old" asp page BUT NOT in asp.net.
See code below:
_________________________________________________________________-
<form action="intro2.aspx" method="post">
<h3>Name: <input id="Name" type="text"> Category:
<select id="Category" size="1">
<option>psychology</option>
<option>business</option>
<option>popular_comp</option>
</select>
</h3><input type="submit" value="Lookup">
<p>
<% Dim I As Integer
For I = 0 to 7 %>
<font size="<%=I%>">Welcome to ASP.NET </font>
<br>
<% Next %>
</form>
_____________________________________________________________