help needed please

B

brett

I tested this page
<%@ Page Language="C#" ContentType="text/html"
ResponseEncoding="iso-8859-1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<p>This page was created at <b>
<%= Time %>
</b> on the computer running ASP.</p>
</body>
</html>

and no asp processing seems to be happeing here is the
result:

"This page was created at on the computer running ASP."

It displays the html , but not the asp

Does this help?

Man It sux being a noobie.
 
C

Chris Jackson

Well, Time doesn't mean anything. Try:

<%=System.DateTime.Now.ToShortTimeString() %>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help please 8
Please Help? 0
Help needed with code 5
Help with code 0
Help with my responsive home page 2
Troubles with Fullpage / please help 0
I dont get this. Please help me!! 2
Help with some CSS 2

Members online

No members online now.

Forum statistics

Threads
474,123
Messages
2,570,736
Members
47,289
Latest member
KathrynSta

Latest Threads

Top