如题
解决方案 »
- 关于页面刷新存储值的问题
- 如何在asp.net2.0中使用视图,并用gridview动态的显示出来,急!!!!!
- 我用DataGrid分页显示 怎么打印所有页面呢
- 没有办法,暂时告别ASP.NET了,谢谢大家这段时间的指导!!!
- asp+activex的问题,急死人了,请大家帮忙,先谢谢了!!
- 请问如果如果浏览网页的时候出现asp.net源代码
- 时间格式问题
- Datagrid等数据绑定控件如何同时显示主表和子表?
- vs2005中出现没有找到适合的方法来重写
- 哪有关于1.1版mobile控件使用的实例?
- 急求,分页<PagerStyle Mode="NumericPages" ></PagerStyle>中的样式如何定义?
- datagrid 里的单元格里的超出宽度的,怎么隐藏掉?
<%@ Register TagPrefix="uc1" TagName="Title" Src="Title.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<uc1:Title id="Title1" runat="server"></uc1:Title></FONT>
</form>
</body>
</HTML>
这里就调用了一个、用户自定义控件,<uc1:Title id="Title1" runat="server"></uc1:Title>
这一段就是啦,仔细看看就知道了,别忘了还有顶部的空间注册的代码
<TABLE border=0 cellPadding=0 cellSpacing=0 height=100% width=100%>
<TR>
<TD align=middle id=frmTitle noWrap vAlign=center>
<IFRAME frameBorder=0 name=menu scrolling=auto src="Left.jsp" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:180px;Z-INDEX:2"></IFRAME>
</TD>
<TD bgColor=8FAFEF>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=100%>
<tr>
<TD onclick=switchSysBar() style=HEIGHT:100%>
<font style=COLOR:white;CURSOR:hand;FONT-FAMILY:Webdings;FONT-SIZE:9pt>
<SPAN id=switchPoint onmouseover="this.style.color='ffdd00'" onmouseout="this.style.color='000000'">3</SPAN>
</font>
</TD>
<tr>
</TABLE>
</td>
<TD style=WIDTH:100%>
<IFRAME frameBorder=0 id=main name=main scrolling=yes src=main.jsp style=HEIGHT:100%;VISIBILITY:inherit;WIDTH:100%;Z-INDEX:1></IFRAME>
</td>
</TR>
</TABLE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="ROBOTS" content="none">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<link href="Images/STYLE.CSS" rel=stylesheet type=text/css>
<title>人民医院----后台管理</title>
<SCRIPT>
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}
}
</SCRIPT>
</head>
<BODY scroll="no"style="MARGIN:0px">
<TABLE border=0 cellPadding=0 cellSpacing=0 height=100% width=100%>
<TR>
<TD align=middle id=frmTitle noWrap vAlign=center>
<IFRAME frameBorder=0 name=menu scrolling=auto src="Left.jsp" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:180px;Z-INDEX:2"></IFRAME>
</TD>
<TD bgColor=8FAFEF>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=100%>
<tr>
<TD onclick=switchSysBar() style=HEIGHT:100%>
<font style=COLOR:white;CURSOR:hand;FONT-FAMILY:Webdings;FONT-SIZE:9pt>
<SPAN id=switchPoint onmouseover="this.style.color='ffdd00'" onmouseout="this.style.color='000000'">3</SPAN>
</font>
</TD>
<tr>
</TABLE>
</td>
<TD style=WIDTH:100%>
<IFRAME frameBorder=0 id=main name=main scrolling=yes src=main.jsp style=HEIGHT:100%;VISIBILITY:inherit;WIDTH:100%;Z-INDEX:1></IFRAME>
</td>
</TR>
</TABLE>
</BODY>
</html>