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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new at asp.net

Status
Not open for further replies.

chrisparr21681

Programmer
Nov 18, 2002
17
GB
I have IIS running and am trying just a simple example from an asp.net book, but i cant get it to work, IE doesnt seem to do the asp.net commands. the code i am trying is....

<%@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>


its saved in my C:\Inetpub\ folder and is supposed to output the Hello and welcome!!! in ever increasing size until font size 7, but all it outputs is this...

> Hello and Welcome!
 
I would make sure that the .NET Framework is installed correctly (try running aspnet_regiis -i from your framework folder to make sure).

Secondly, I would buy a decent book as that is a very poor example for ASP.NET as it more ASP based than ASP.NET!

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top