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

📄 depschbyday.aspx

📁 asp.net办公自动化实例导航——非常经典的OA源代码
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="DepSchByDay.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.Schedule.DepSchByDay" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
  <HEAD>
		<title></title>
		<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
		<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../lynn.css" type="text/css" rel="stylesheet">
  </HEAD>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<TABLE style="Z-INDEX: 101; WIDTH: 100%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
					<TBODY>
						<TR>
							<TD class="" style="HEIGHT: 30px" vAlign="top" noWrap>
								<TABLE  style="WIDTH: 100%;HEIGHT: 21" align=left cellSpacing="0" cellPadding="0" class=headcenter border="0">
									<TR>
										<TD  align=left style="WIDTH: 56.33%">&nbsp;日程任务:部门日程
										</TD>
										<TD class="tttable" noWrap align="right"><asp:label id="lblUName" runat="server" CssClass="uname" Font-Size="X-Small"></asp:label></TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
						<TR>
							<TD style="HEIGHT: 50px" vAlign="top" align="middle">
								<TABLE class="querybox" style="WIDTH: 95%; HEIGHT: 40px" cellSpacing="0" cellPadding="0" border="0">
									<TR>
										<TD vAlign="center" noWrap>
											<TABLE class="td" style="FONT-SIZE: 9pt; WIDTH: 100%; HEIGHT: 92.29%" cellSpacing="0" cellPadding="0" border="0">
												<TR>
													<TD style="WIDTH: 54px" noWrap align="right">机构名称
													</TD>
													<TD style="WIDTH: 95px"><asp:dropdownlist id="dropBranch" runat="server" CssClass="td" Width="100px" Height="23px" DataTextField="simcode" DataValueField="branchid" Enabled="False"></asp:dropdownlist></TD>
													<TD style="WIDTH: 25px" noWrap align="right">部门
													</TD>
													<TD style="WIDTH: 72px"><asp:dropdownlist id="dropDep" runat="server" CssClass="td" Width="142px" Height="23px" DataTextField="depname" DataValueField="depcode" Enabled="False"></asp:dropdownlist></TD>
													<TD style="WIDTH: 59px" noWrap align="right">姓名/帐号
													</TD>
													<TD style="WIDTH: 86px"><asp:textbox id="dropName" runat="server" CssClass="td" Enabled="False" Width="84px"></asp:textbox></TD>
													<TD style="FONT-SIZE: 9pt">&nbsp;<asp:imagebutton id="cmdQuery" runat="server" ImageUrl="../img/button/query.gif"></asp:imagebutton>
													</TD>
												</TR>
												<TR>
													<TD style="WIDTH: 54px" noWrap align="right">日期:年
													</TD>
													<TD style="WIDTH: 95px"><asp:textbox id="dropYear" runat="server" Enabled="False" Width="100px"></asp:textbox></TD>
													<TD style="WIDTH: 25px" noWrap align="right">月
													</TD>
													<TD style="WIDTH: 72px"><asp:dropdownlist id="dropMonth" runat="server" Enabled="False" Width="142px" Height="23px">
															<asp:ListItem Value="一月">一月</asp:ListItem>
															<asp:ListItem Value="二月">二月</asp:ListItem>
															<asp:ListItem Value="三月">三月</asp:ListItem>
															<asp:ListItem Value="四月">四月</asp:ListItem>
															<asp:ListItem Value="五月">五月</asp:ListItem>
															<asp:ListItem Value="六月">六月</asp:ListItem>
															<asp:ListItem Value="七月">七月</asp:ListItem>
															<asp:ListItem Value="八月">八月</asp:ListItem>
															<asp:ListItem Value="九月">九月</asp:ListItem>
															<asp:ListItem Value="十月">十月</asp:ListItem>
															<asp:ListItem Value="十一月">十一月</asp:ListItem>
															<asp:ListItem Value="十二月">十二月</asp:ListItem>
														</asp:dropdownlist></TD>
													<TD style="WIDTH: 59px" noWrap align="right">日
													</TD>
													<TD style="WIDTH: 86px"><asp:dropdownlist id="dropDay" runat="server" Enabled="False" Width="84px">
															<asp:ListItem Value="1">1</asp:ListItem>
															<asp:ListItem Value="2">2</asp:ListItem>
															<asp:ListItem Value="3">3</asp:ListItem>
															<asp:ListItem Value="4">4</asp:ListItem>
															<asp:ListItem Value="5">5</asp:ListItem>
															<asp:ListItem Value="6">6</asp:ListItem>
															<asp:ListItem Value="7">7</asp:ListItem>
															<asp:ListItem Value="8">8</asp:ListItem>
															<asp:ListItem Value="9">9</asp:ListItem>
															<asp:ListItem Value="10">10</asp:ListItem>
															<asp:ListItem Value="11">11</asp:ListItem>
															<asp:ListItem Value="12">12</asp:ListItem>
															<asp:ListItem Value="13">13</asp:ListItem>
															<asp:ListItem Value="14">14</asp:ListItem>
															<asp:ListItem Value="15">15</asp:ListItem>
															<asp:ListItem Value="16">16</asp:ListItem>
															<asp:ListItem Value="17">17</asp:ListItem>
															<asp:ListItem Value="18">18</asp:ListItem>
															<asp:ListItem Value="19">19</asp:ListItem>
															<asp:ListItem Value="20">20</asp:ListItem>
															<asp:ListItem Value="21">21</asp:ListItem>
															<asp:ListItem Value="22">22</asp:ListItem>
															<asp:ListItem Value="23">23</asp:ListItem>
															<asp:ListItem Value="24">24</asp:ListItem>
															<asp:ListItem Value="25">25</asp:ListItem>
															<asp:ListItem Value="26">26</asp:ListItem>
															<asp:ListItem Value="27">27</asp:ListItem>
															<asp:ListItem Value="28">28</asp:ListItem>
															<asp:ListItem Value="29">29</asp:ListItem>
															<asp:ListItem Value="30">30</asp:ListItem>
															<asp:ListItem Value="31">31</asp:ListItem>
														</asp:dropdownlist></TD>
													<TD><asp:label id="lblErr" runat="server" CssClass="err" Visible="False" Font-Size="X-Small"></asp:label></TD>
												</TR>
											</TABLE>
										</TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
						<TR>
							<TD style="WIDTH: 100%" vAlign="top" align="middle">
								<TABLE style="FONT-SIZE: 9pt" height="92%" cellSpacing="0" cellPadding="0" width="90%" border="0">
									<TR>
										<TD style="FONT-SIZE: 9pt; HEIGHT: 200px" vAlign="top">
											<TABLE class="td" style="WIDTH: 100%" cellSpacing="0" cellPadding="0" border="0">
												<TR>
													<TD class="tttable" style="HEIGHT: 20px" height="20"></TD>
													<TD style="WIDTH: 120px; HEIGHT: 20px" align="right" height="20"></TD>
													<TD style="WIDTH: 80px; HEIGHT: 20px" height="20"></TD>
												</TR>
												<TR>
													<TD class="tttable" style="FONT-SIZE: 9pt">部门日程列表
														<asp:label id="lblEmpNum" runat="server" CssClass="tttable" Font-Size="X-Small"></asp:label><asp:label id="lblDate" runat="server" Visible="False" Font-Size="X-Small"></asp:label><asp:linkbutton id="cmdToday" runat="server" ToolTip="查看今日[部门日程]" Font-Size="X-Small"></asp:linkbutton></TD>
													<TD style="FONT-SIZE: 9pt; WIDTH: 120px" align="right"><asp:hyperlink id="lnkByWeek" runat="server" CssClass="td" NavigateUrl="DepSch.aspx" Font-Size="X-Small"><img src="../img/week.gif" border="0" align="absbottom">&nbsp;按周</asp:hyperlink>&nbsp;
													</TD>
													<TD style="FONT-SIZE: 9pt; WIDTH: 80px"><asp:hyperlink id="lnkByDay" runat="server" Enabled="False" Font-Size="X-Small"><img src="../img/day.gif" border="0" align="absbottom">&nbsp;按天</asp:hyperlink></TD>
												</TR>
											</TABLE>
											<TABLE id="Table34" width="100%" cellSpacing="0" cellPadding="0" bordercolordark="#ffffff" bordercolor="#888888" border="1" class=headcenter>
												<TR>
													<TD style="FONT-SIZE: 9pt" noWrap>&nbsp;&nbsp;&nbsp;&nbsp;
														<asp:linkbutton id="cmdLastDay" runat="server" Height="1px" Width="49px" Font-Size="X-Small">
															上一天<img src="../img/left_arrow.gif" alt="上一天" border="0" /></asp:linkbutton></TD>
													<TD style="FONT-SIZE: 9pt" noWrap align="middle"><asp:label id="lblHeader" runat="server" Font-Bold="True" Font-Size="14px"></asp:label></TD>
													<TD style="FONT-SIZE: 9pt" noWrap align="right"><asp:linkbutton id="cmdNextDay" runat="server" CssClass="tttable" Font-Size="X-Small"><img src="../img/right_arrow.gif" alt="下一天" border="0" />下一天</asp:linkbutton>&nbsp;&nbsp;&nbsp;&nbsp;
													</TD>
												</TR>
											</TABLE>
											<TABLE id="Table1" width="100%" cellSpacing="0" cellPadding="0" bordercolordark="#ffffff" bordercolor="#888888" border="1" style="HEIGHT: 171px">
												<tr>
													<td>
														<asp:datagrid id="dgdData" runat="server" CssClass="td" Width="100%" Font-Size="14px" AllowSorting="True" AutoGenerateColumns="False" AllowPaging="True" BorderWidth="1px" BackColor="#F7F7F7" BorderColor="#F7F7F7" BorderStyle="Solid">
<SelectedItemStyle BackColor="Transparent">
</SelectedItemStyle>

<EditItemStyle ForeColor="Black" BackColor="Black">
</EditItemStyle>

<AlternatingItemStyle BorderColor="White" BackColor="White">
</AlternatingItemStyle>

<ItemStyle CssClass="textcenter" BackColor="#DEDFDE">
</ItemStyle>

<HeaderStyle CssClass="headcenter">
</HeaderStyle>

<FooterStyle CssClass="headcenter">
</FooterStyle>

<Columns>
<asp:BoundColumn DataField="empName" HeaderText="人员姓名">
<HeaderStyle Width="15%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="日程信息">
<HeaderStyle Width="85px">
</HeaderStyle>

<ItemTemplate>
<%DispScheduleInfo();%>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>

<PagerStyle PageButtonCount="15" Mode="NumericPages">
</PagerStyle>
														</asp:datagrid>
													</td>
												</tr>
											</TABLE>
										</TD>
									</TR>
									<TR>
										<TD vAlign="top">
											<TABLE class="td" style="WIDTH: 100%; HEIGHT: 15px" cellSpacing="0" cellPadding="0" border="0">
												<TR>
													<TD class="tttable" style="FONT-SIZE: 9pt; WIDTH: 68px" noWrap>交通费:
													</TD>
													<TD class="" style="FONT-SIZE: 9pt; WIDTH: 34px" noWrap><asp:label id="lblJt" runat="server">0</asp:label></TD>
													<TD class="tttable" style="FONT-SIZE: 9pt; WIDTH: 66px" noWrap>住宿费:
													</TD>
													<TD style="FONT-SIZE: 9pt; WIDTH: 29px" noWrap><asp:label id="lblJs" runat="server">0</asp:label></TD>
													<TD class="tttable" style="FONT-SIZE: 9pt; WIDTH: 67px" noWrap>餐饮费:
													</TD>
													<TD style="FONT-SIZE: 9pt; WIDTH: 29px" noWrap><asp:label id="lblCf" runat="server">0</asp:label></TD>
													<TD class="tttable" style="FONT-SIZE: 9pt; WIDTH: 66px" noWrap>其它费:
													</TD>
													<TD style="FONT-SIZE: 9pt; WIDTH: 37px" noWrap><asp:label id="lblOther" runat="server">0</asp:label></TD>
													<TD class="tttable" style="FONT-SIZE: 9pt; WIDTH: 54px" noWrap>总计:
													</TD>
													<TD style="FONT-SIZE: 9pt" noWrap><asp:label id="lblSum" runat="server">0</asp:label></TD>
													<TD noWrap></TD>
													<TD noWrap></TD>
													<TD noWrap></TD>
												</TR>
												<TR>
													<TD class="tttable" style="WIDTH: 68px" noWrap height="20"></TD>
													<TD style="WIDTH: 34px" noWrap height="20"></TD>
													<TD class="tttable" style="WIDTH: 66px" noWrap height="20"></TD>
													<TD style="WIDTH: 29px" noWrap height="20"></TD>
													<TD class="tttable" style="WIDTH: 67px" noWrap height="20"></TD>
													<TD style="WIDTH: 29px" noWrap height="20"></TD>
													<TD class="tttable" style="WIDTH: 66px" noWrap height="20"></TD>
													<TD style="WIDTH: 37px" noWrap height="20"></TD>
													<TD class="tttable" style="WIDTH: 54px" noWrap height="20"></TD>
													<TD noWrap height="20"></TD>
													<TD noWrap height="20"></TD>
													<TD noWrap height="20"></TD>
													<TD noWrap height="20"></TD>
												</TR>
											</TABLE>
										</TD>
									</TR>
								</TABLE>
			</FONT>
		</form></TD></TR></TBODY></TABLE></FONT><br>
	</body>
</HTML>

⌨️ 快捷键说明

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