别人给我一个asp.net项目 我打开运行 出现错误 只能有一个“master”指令。 不知道怎么回事 求高手赐教
母版页内容如下:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="news.master.cs" Inherits="news" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="SiteMaster" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<script src="JS/jquery-1.6.js" type="text/javascript"></script>
<link href="css/public_all.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function () {
if ($(".Middle_Right_Box_light").height() > $(".Middle_Left_Box_light").height()) {
$(".Middle_Left_Box_light").height($(".Middle_Right_Box_light").height());
$(".Middle_Left_Box_Boder_In").height($(".Middle_Right_Box_In").height());
}
else {
$(".Middle_Right_Box_light").height($(".Middle_Left_Box_light").height());
$(".Middle_Right_Box_In").height($(".Middle_Left_Box_Boder_In").height());
}
});
</script>
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server">
</asp:ContentPlaceHolder>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/bj.jpg);
}
h1 {
font-size: 24px;
color: #FFFFFF;
}
.style1
{
width: 496px;
}
.style3
{
width: 952px;
}
.style4
{
width: 100%;
}
.style5
{
width: 130px;
}
-->
</style>
</head>
<body>
<form id="Form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="page">
<div class="header">
<div class="title">
<h1>
天津科技大学
</h1>
</div>
<div class="loginDisplay">
</div>
<div class="clear hideSkiplink">
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
<Items>
<asp:MenuItem NavigateUrl="~/Default.aspx" Text="主页"/>
<asp:MenuItem NavigateUrl="~/yudingjiaocai.aspx" Text="预订教材"/>
<asp:MenuItem NavigateUrl="~/jiaocaichaxun.aspx" Text="教材查询"/>
<asp:MenuItem NavigateUrl="~/kucunguanli.aspx" Text="库存管理"/>
<asp:MenuItem NavigateUrl="~/yonghuguanli.aspx" Text="用户管理"/>
</Items>
</asp:Menu>
</div>
</div>
<div class="clear">
<table class="style1">
<tr>
<td>
<img alt="" class="style3"
src="file:///C:/Users/Administrator/Desktop/毕业设计/图片/科技大学.png" /></td>
</tr>
<tr>
<td class="style4">
<table class="style4">
<tr>
<td colspan="2">
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>