新手遇到的一个问题
刚开始学习,调试一个程序:
<html>
<head>
<title>Hello World!</title>
<script language="c#" runat="server">
void Page_Load()
{
Text1.text = "Hello World";
}
</script>
</head>
<body>
<asp:Label ID="Text1" runat="server"/>
</body>
</html>
输入没错误,结果得到如下信息:
无法显示 XML 页。
使用 XSL 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。 操作成功完成。处理资源 'http://localhost/aspc/HelloWorld.aspx' 时出错。第 13 行,位置: 46
<asp:Label ID="Text1" runat="server"/> 不知为什么,有高手知道吗?谢谢!