Hi
I have written this C# script in Dreamweaver 8 using the ASP.NET page and uploaded the page but its not working, any ideas.
Thank you in advance.
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My first ASP.NET Page</title>
<script runat="server" language="c#"
protected void Page_Load (Object s, EventArgs e)
{
1b1Time.Text = DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello there!</p>
<p>The time is now: <asp:Label runat="server" ID="1b1Time" /></p>
Go to the complete details ...