Hello all...
apologies for the terribly simplistic request, but i cant for the life of me figure out why my simple 'hello world' .aspx file wont give me any results...
the page loads, but the c# portion simply isnt displayed...
here is the code in its entirety:
-----------------------------------------
<script language="c#" runat="server">
void Page_Load()
{
time.Text=DateTime.Now.Hour.ToString();
}
</script>
<html>
<head>
<title>Web Server Time</title>
</head>
<body>
The time is currently:
<asp:label id="time" runat="server" />
</body>
</html>
-----------------------------------------
when i launch the page, i get the "The time is currently" portion, but no actual time is displayed...
i've installed the .net redistributable, and the SDK (in that order)... ive got permissions all setup as well...
am i missing something here?
please let me know what other information i can provide...
thanks!
steve
apologies for the terribly simplistic request, but i cant for the life of me figure out why my simple 'hello world' .aspx file wont give me any results...
the page loads, but the c# portion simply isnt displayed...
here is the code in its entirety:
-----------------------------------------
<script language="c#" runat="server">
void Page_Load()
{
time.Text=DateTime.Now.Hour.ToString();
}
</script>
<html>
<head>
<title>Web Server Time</title>
</head>
<body>
The time is currently:
<asp:label id="time" runat="server" />
</body>
</html>
-----------------------------------------
when i launch the page, i get the "The time is currently" portion, but no actual time is displayed...
i've installed the .net redistributable, and the SDK (in that order)... ive got permissions all setup as well...
am i missing something here?
please let me know what other information i can provide...
thanks!
steve