Monday, March 26, 2012

newbie ASP won't work

Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work
<%@dotnet.itags.org. LANGUAGE="VBSCRIPT"" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here
<body>
</body>
</html>
pls help
Jack"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...arkred">
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
____
I've spoted one error, but still doesn't work in preview

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
>
Here's the revision
<%@. LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here
</body>
</html>
"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...arkred">
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
>
First, define "doesn't work." Describe symptoms, behaviors, error messages,
etc.
Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
microsoft.public.inetserver.asp.general.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
The sun never sets on
the Kingdom of Heaven
"Jacky Luk" <jl@.knight.com> wrote in message
news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
>
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> glsD:eiDp6EekFHA.1048@.tk2msftn
gp13.phx.gbl...
> First, define "doesn't work." Describe symptoms, behaviors, error
> messages, etc.
> Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
> microsoft.public.inetserver.asp.general.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> The sun never sets on
> the Kingdom of Heaven
> "Jacky Luk" <jl@.knight.com> wrote in message
> news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
the current time ,Time(), is not displayed
>
Jacky as ken Adviced this is ASP.NET newsgroup.
To display your time use:-
<%=Now()%>
Hope that helps
Patrick
*** Sent via Developersdex http://www.examnotes.net ***

0 comments:

Post a Comment