(1)问题如下:无法显示 XML 页
Prolog 外部不能有 DOCTYPE 声明。处理资源 'http://localhost:3967/WebSite1/Default.aspx' 时出错。第 3 行,位置: 11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-------...(2)上网查了一下,解决方案是:删除<!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 id="Head1" runat="server"> <title>无标题页</title> </head> <body> <form id="form1" runat="server"> <div> </div> </form> </body> </html>(3)可是我的网页是网站默认首页,内容如下,并没有上述部分。
<%@ Page Title="主页" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default"%><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
欢迎使用 ASP.NET!
</h2>
<p>
若要了解关于 ASP.NET 的详细信息,请访问 <a href="http://www.asp.net/cn" title="ASP.NET 网站">www.asp.net/cn</a>。
</p>
<p>
您还可以找到 <a href="http://go.microsoft.com/fwlink/?LinkID=152368"
title="MSDN ASP.NET 文档">MSDN 上有关 ASP.NET 的文档</a>。
</p>
</asp:Content>怎么解决这个问题呀,请大家帮忙
Prolog 外部不能有 DOCTYPE 声明。处理资源 'http://localhost:3967/WebSite1/Default.aspx' 时出错。第 3 行,位置: 11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-------...(2)上网查了一下,解决方案是:删除<!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 id="Head1" runat="server"> <title>无标题页</title> </head> <body> <form id="form1" runat="server"> <div> </div> </form> </body> </html>(3)可是我的网页是网站默认首页,内容如下,并没有上述部分。
<%@ Page Title="主页" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default"%><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
欢迎使用 ASP.NET!
</h2>
<p>
若要了解关于 ASP.NET 的详细信息,请访问 <a href="http://www.asp.net/cn" title="ASP.NET 网站">www.asp.net/cn</a>。
</p>
<p>
您还可以找到 <a href="http://go.microsoft.com/fwlink/?LinkID=152368"
title="MSDN ASP.NET 文档">MSDN 上有关 ASP.NET 的文档</a>。
</p>
</asp:Content>怎么解决这个问题呀,请大家帮忙
解决方案 »
- 判断鼠标键盘在一定时间无操作时 Session 就失效
- 急!asp.net找个类似拍拍的搜索样式
- GridView绑定,数据格式的问题,在线等
- 救命呀!数据库内容被人改了!怎么办.
- (有分赠,一个简单算法)如何将一个十进制数字转换成二进制字符串
- 存储过程怎么写?
- 我用datetime.now.tostring()种者向表里插数据,然后我读出来时我希望是 2006年05月05日 谢谢
- as.net数据库查询的问题
- SqlConnection1.ConnectionString = ConfigurationSettings.AppSettings("dbCon")怎么总是不见了?
- 为什么说我“字符串格式不正确”??
- asp.net特效求助
- 下载
换一下
无法显示 XML 页。
使用 XSL 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。
--------------------------------------------------------------------------------XML 文档只能有一个顶层元素。处理资源 'http://localhost:3967/WebSite1/' 时出错。第 11 行,位置: 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-^