⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 复件 pending.aspx

📁 程序中带有大量的实例,采用多种方式优化代码,这初学者很好的学习资料
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page language="c#" Codebehind="Pending.aspx.cs" AutoEventWireup="false" Inherits="Web.Pending1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<TITLE></TITLE>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<META content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta http-equiv="refresh" content="150">
		<LINK href="Skins/Style/Default.CSS" type="text/css" rel="stylesheet">
			<style type="text/css">TD { FONT-SIZE: 12px }
	BODY { MARGIN: 0px 0px 0px 10px }
	TD { LINE-HEIGHT: 20px }
	.qq { BORDER-RIGHT: #0033ff thin; BORDER-TOP: #0000ff thin; BORDER-LEFT: #0033ff thin; BORDER-BOTTOM: #0033ff thin; BACKGROUND-COLOR: #ffffff }
	</style>
	<script language="javascript">			
		var second=0;
		var minute=0;
		var hour=0;
		idt=window.setTimeout("interval();",10000);
		function interval()
		{
			//second++;
			//if(second==30)
			//{
				document.birthdayinfo.location.href="TodayLongionInfo.aspx";
				//second=0;minute+=1;
			//}
			//if(minute==60){minute=0;hour+=1;}
			//document.forms.input.value=hour+"时"+minute+"分"+second+"秒";
			//idt=window.setTimeout("interval();",1000);
	   }
	
	
		//控制iframe的高	
		var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
		//extra height in px to add to iframe in FireFox 1.0+ browsers
		var FFextraHeight=getFFVersion>=0.1? 16 : 0 

		function dyniframesize(iframename) {
		var pTar = null;
		if (document.getElementById){
			pTar = document.getElementById(iframename);
		}
		else{
			eval('pTar = ' + iframename + ';');
		}
		if (pTar && !window.opera){
			//begin resizing iframe
			pTar.style.display="block"
		    
			if (pTar.contentDocument && pTar.contentDocument.body.offsetHeight){
			//ns6 syntax
			pTar.height = pTar.contentDocument.body.offsetHeight+FFextraHeight; 
			}
			else if (pTar.Document && pTar.Document.body.scrollHeight){
			//ie5+ syntax
			pTar.height = pTar.Document.body.scrollHeight;
			}
		}
		}
	</script>
</HEAD>
	<BODY topmarign="0">
		<FORM id="Form1" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td vAlign="top" width="75%" height="578">
						<table height="570" cellSpacing="0" cellPadding="0" width="98%" border="0">
							<tr>
								<td width="98%" height="31"><table cellpadding="0" cellspacing="0" border="0" width="100%">
										<tr>
											<td width="30"><IMG src="images/UI/dbsx.gif" align="absMiddle"></td>
											<td valign="middle" width="200" align="left"><b> 待 办 事 项</b></td>
											<td align="left">
												<asp:Label id="Label_Mail" runat="server"></asp:Label>&nbsp;</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td width="98%" background="images/index_09.gif" height="1"></td>
							</tr>
							<tr>
								<td width="98%" height="5"></td>
							</tr>
							<tr>
								<td vAlign="top" width="98%" height="154" align="center">
									<asp:datagrid id="DataGrid_Pend" runat="server" CellPadding="2" BackColor="White" BorderWidth="1px"
										BorderStyle="None" BorderColor="#CCCCCC" GridLines="Horizontal" AutoGenerateColumns="False"
										Width="100%" AllowPaging="True" PageSize="15">
										<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
										<ItemStyle ForeColor="#000066"></ItemStyle>
										<HeaderStyle ForeColor="Black" BackColor="#E5E8E4"></HeaderStyle>
										<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
										<Columns>
											<asp:BoundColumn DataField="Alert" DataFormatString="{0}">
												<HeaderStyle HorizontalAlign="Center" Width="3%" VerticalAlign="Middle"></HeaderStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="Title" HeaderText=" 标 题" DataFormatString="{0}">
												<HeaderStyle Width="82%" VerticalAlign="Middle"></HeaderStyle>
												<ItemStyle HorizontalAlign="Left" VerticalAlign="Middle"></ItemStyle>
											</asp:BoundColumn>
											<asp:TemplateColumn HeaderText="操 作">
												<HeaderStyle HorizontalAlign="Center" Width="15%" VerticalAlign="Middle"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
												<ItemTemplate>
													<asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Type", "{0}") %>' NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.Link", "{0}") %>' Target='<%# DataBinder.Eval(Container, "DataItem.Target", "{0}") %>' ID="Hyperlink1">
													</asp:HyperLink>
												</ItemTemplate>
											</asp:TemplateColumn>
										</Columns>
										<PagerStyle NextPageText="下一页 >>" PrevPageText="<< 上一页" HorizontalAlign="Center" ForeColor="#0000FF"
											BackColor="White"></PagerStyle>
									</asp:datagrid><asp:image id="Image_NoPending" runat="server" ImageUrl="/zxbg/DayManage/images/UI/Pending/NoPending.gif"
										Visible="False"></asp:image>
								</td>
							</tr>
							<tr>
								<td width="98%" height="5"></td>
							</tr>
							<tr>
								<td width="98%" height="26"><table cellpadding="0" cellspacing="0" border="0" width="100%">
										<tr>
											<td width="30"><IMG src="images/ui/txsx.gif"></td>
											<td><b> 提 醒 事 项</b></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td width="98%" background="images/index_09.gif" height="1"></td>
							</tr>
							<tr>
								<td width="98%" height="5"></td>
							</tr>
							<tr>
								<td vAlign="top" width="98%" height="90" align="center">
									<asp:datagrid id="DataGrid_Remind" runat="server" CellPadding="2" BackColor="White" BorderWidth="1px"
										BorderStyle="None" BorderColor="#CCCCCC" GridLines="Horizontal" AutoGenerateColumns="False"
										Width="100%">
										<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
										<ItemStyle ForeColor="#000066"></ItemStyle>
										<HeaderStyle ForeColor="Black" BackColor="#E5ECF0"></HeaderStyle>
										<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
										<Columns>
											<asp:BoundColumn DataField="Alert" DataFormatString="{0}">
												<HeaderStyle Width="4%"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="Name" HeaderText="标 题" DataFormatString="{0}">
												<HeaderStyle Width="64%"></HeaderStyle>
												<ItemStyle VerticalAlign="Middle"></ItemStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="Time_Start" HeaderText="开始时间" DataFormatString="{0}">
												<HeaderStyle Width="16%"></HeaderStyle>
												<ItemStyle VerticalAlign="Middle"></ItemStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="Time_End" HeaderText="结束时间" DataFormatString="{0}">
												<HeaderStyle Width="16%"></HeaderStyle>
												<ItemStyle VerticalAlign="Middle"></ItemStyle>
											</asp:BoundColumn>
										</Columns>
										<PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
									</asp:datagrid><asp:image id="Image_NoRemind" runat="server" ImageUrl="/zxbg/DayManage/images/UI/Pending/NoRemind.gif"
										Visible="False"></asp:image>
								</td>
							</tr>
							<tr>
								<td width="98%" height="5"></td>
							</tr>
							<tr>
								<td width="98%" background="images/index_09.gif" height="1"></td>
							</tr>
							<tr>
								<td width="98%" height="5"></td>
							</tr>
							<tr>
								<td vAlign="top" width="98%" height="90" align="center">
									
								</td>
							</tr>
						</table>
					</td>
					<td width="1" bgColor="#bcbaba" height="578"></td>
					<td vAlign="top" width="25%" height="578">
						<table cellSpacing="0" cellPadding="0" width="58%" align="center" border="0">
							<tr>
								<td height="31" align="right"><asp:Label id="Label_UserName" runat="server"></asp:Label>&nbsp;<img src='images/greenarrow.gif'>&nbsp;</td>
							</tr>
							<tr>
								<td width="98%" background="images/index_09.gif" height="1"></td>
							</tr>
							<tr>
								<td width="98%" height="5"></td>
							</tr>
							<tr>
								<td vAlign="top" height="160">
									<table cellSpacing="0" cellPadding="0" width="168" align="center" border="0">
										<tr>
											<td vAlign="top" width="168" height="6"><IMG height="6" src="images/UI/index_41.gif" width="168"></td>
										</tr>
										
										<tr>
											<td vAlign="top" background="images/UI/index_42.gif" height="121">
												<table height="138" cellSpacing="0" cellPadding="0" width="160" align="center" border="0">
													<tr>
														<td height="26">
															<table height="21" cellSpacing="0" cellPadding="0" width="92%" align="center" border="0">
																<tr>
																	<td width="44" height="21">
																		<div align="center"><IMG height="15" src="images/UI/images_28.gif" width="16"></div>
																	</td>
																	<td width="74"><A href="#" onclick="javascript:showTZ();">通知通告</A></td>
																</tr>
															</table>
														</td>
													</tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -