插入ascx页眉页脚出错?
<%@ Register Src= "webcontrol/WebUserControl.ascx " TagName= "WebUserControl " TagPrefix= "uc1 " %>
<%@ Register Src= "webcontrol/WebUserControl2.ascx " TagName= "WebUserControl2 " TagPrefix= "uc2 " %>
<html>
<head runat= "server ">
<title> 无标题页 </title>
</head>
<body>
<uc1:WebUserControl ID= "WebUserControl1 " runat= "server " />
<form id= "form1 " runat= "server ">
<div>
<br>
<uc2:WebUserControl2 ID= "WebUserControl2_1 " runat= "server " />
</form>
</body>
</html>
-----------------------------------------------
现在编译器一共显示51个错误,代码都没有51行..到底错在哪那?帮我想想吧.
[解决办法]
什么错误》
[解决办法]
<body>
<form id= "form1 " runat= "server ">
<uc1:WebUserControl ID= "WebUserControl1 " runat= "server " />
<div>
<br>
<uc2:WebUserControl2 ID= "WebUserControl2_1 " runat= "server " />
</form>