Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Re: Getting Started


Message #1 by "LYNN AI" <lya91@h...> on Mon, 10 Mar 2003 04:46:20
> When I attempt to run a simple aspx page, only the HTML code was printed 
t> o the webpage.  Upon viewing the source code of the webpage I could 
still 
s> ee my C# and ASP .NET code.  I installed the .NET framework 
successfully.

> 
<> %@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-
8859-
1> " %>
<> script language="c#" runat="server">
	> void Page_Load()
	> {
	> 	time.Text = DateTime.Now.Hour.ToString() + ":" + 
D> ateTime.Now.Minute.ToString() + ":" + DateTime.Now.Second.ToString();
	> }
<> /script>
<> html>
<> head>
<> title>The Punctual Web Server</title>
<> /head>
<> body>
	> <h1>Welcome</h1>
	> It is currently: <asp:label id="time" runat="server" />
<> /body>
<> /html>
Message #2 by "Alex Smotritsky" <alex.smotritsky@v...> on Mon, 10 Mar 2003 19:39:06 -0500
http://support.microsoft.com/?id=306005



-----Original Message-----
From: LYNN AI [mailto:lya91@h...] 
Sent: Monday, March 10, 2003 4:46 AM
To: aspx_beginners
Subject: [aspx_beginners] Re: Getting Started


> When I attempt to run a simple aspx page, only the HTML code was 
> printed
t> o the webpage.  Upon viewing the source code of the webpage I could
still 
s> ee my C# and ASP .NET code.  I installed the .NET framework
successfully.

> 
<> %@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-
8859-
1> " %>
<> script language="c#" runat="server">
	> void Page_Load()
	> {
	> 	time.Text = DateTime.Now.Hour.ToString() + ":" + 
D> ateTime.Now.Minute.ToString() + ":" + DateTime.Now.Second.ToString();
	> }
<> /script>
<> html>
<> head>
<> title>The Punctual Web Server</title>
<> /head>
<> body>
	> <h1>Welcome</h1>
	> It is currently: <asp:label id="time" runat="server" />
<> /body>
<> /html>


  Return to Index