D
D. Shane Fowlkes
I'm a traditional ASP developer and am experimenting with asp.net. I
installed .NET Framework 1.1 and make a quick and dirty test page called
random.aspx . Can anyone tell me why this page doesn't write the value of
"X" to the page AND why I can view the <% %> source code in the browser? It
makes me think that my IIS doesn't recognize .aspx files.
Thanks
<% @Page Language = "VB" Debug = "True" Explicit = "True" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Random Single Number Test: <strong>(
<%
Dim X As Single
Randomize
X = Rnd
Response.Write X
%>)</strong>
</body>
</html>
--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
Work: http://www.premierewebs.com
Play: http://www.raccoonbob.com
*********************************
installed .NET Framework 1.1 and make a quick and dirty test page called
random.aspx . Can anyone tell me why this page doesn't write the value of
"X" to the page AND why I can view the <% %> source code in the browser? It
makes me think that my IIS doesn't recognize .aspx files.
Thanks
<% @Page Language = "VB" Debug = "True" Explicit = "True" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Random Single Number Test: <strong>(
<%
Dim X As Single
Randomize
X = Rnd
Response.Write X
%>)</strong>
</body>
</html>
--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
Work: http://www.premierewebs.com
Play: http://www.raccoonbob.com
*********************************