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

📄 history.aspx

📁 人事管理系统的WEB开发程序源代码,有住于WEB开发的学习
💻 ASPX
字号:
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Common/Header.ascx" %>
<%@ Page language="c#" Codebehind="History.aspx.cs" AutoEventWireup="false" Inherits="BlueHill.SubmitLeave.History" %>
<%@ Register TagPrefix="uc1" TagName="Left" Src="Left.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>History</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体" size="small">
				<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" height="100%"
					cellSpacing="0" cellPadding="0" width="100%" border="0">
					<tr vAlign="top" height="100">
						<td colSpan="2">
							<uc1:Header id="Header1" runat="server"></uc1:Header></td>
					</tr>
					<TR vAlign="top">
						<TD align="left" width="130" height="100%">
							<uc1:Left id="Left1" runat="server"></uc1:Left></TD>
						<TD vAlign="top" align="center">
							<asp:Panel id="pnlPageFix" runat="server" Width="600px" Height="10px"></asp:Panel>
							<asp:panel id="pnlBody" runat="server" Width="600px" HorizontalAlign="Left">
								<P>
									<asp:label id="Label1" runat="server">开始时间:</asp:label>
									<asp:textbox id="txtStartTime" runat="server" Width="80px"></asp:textbox>
									<asp:CompareValidator id="CompareValidator1" runat="server" Operator="DataTypeCheck" Type="Date" Font-Size="X-Small"
										ErrorMessage="请输入正确的日期格式:(YYYY/MM/DD)" ControlToValidate="txtStartTime" Display="Dynamic"></asp:CompareValidator>
									<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" Font-Size="X-Small" ErrorMessage="该项不能为空!"
										ControlToValidate="txtStartTime" Display="Dynamic"></asp:RequiredFieldValidator>&nbsp;
									<asp:label id="Label2" runat="server">结束时间:</asp:label>
									<asp:textbox id="txtEndTime" runat="server" Width="80px"></asp:textbox>
									<asp:CompareValidator id="CompareValidator2" runat="server" Operator="DataTypeCheck" Type="Date" Font-Size="X-Small"
										ErrorMessage="请输入正确的日期格式:(YYYY/MM/DD)" ControlToValidate="txtEndTime" Display="Dynamic"></asp:CompareValidator>
									<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" Font-Size="X-Small" ErrorMessage="该项不能为空!"
										ControlToValidate="txtEndTime" Display="Dynamic"></asp:RequiredFieldValidator></P>
								<P align="left">
									<asp:button id="btnSearch" runat="server" Width="128px" Text="搜索"></asp:button></P>
								<P align="left">
									<asp:Label id="lblMessage" runat="server" Visible="False"></asp:Label></P>
								<asp:panel id="pnlDetail" runat="server" Height="58px" Width="600px">
									<asp:Label id="Label3" runat="server" Font-Size="X-Small" Visible="False">审批者:</asp:Label>
									<asp:Label id="lblApproverName" runat="server" Font-Size="X-Small" Visible="False"></asp:Label>
									<BR>
									<asp:Label id="Label5" runat="server" Font-Size="X-Small" Visible="False">请假事由:</asp:Label>
									<asp:Label id="lblReason" runat="server" Height="1px" Width="522px" Font-Size="X-Small" Visible="False"></asp:Label>
									<BR>
									<asp:Label id="lblDeny" runat="server" Font-Size="X-Small" Visible="False">
									否决理由:</asp:Label>
									<asp:Label id="lblDenyReason" runat="server" Height="14px" Width="522px" Font-Size="X-Small"
										Visible="False"></asp:Label>
								</asp:panel>
								<asp:datagrid id="grdResult" runat="server" Width="600px" Font-Size="X-Small" AutoGenerateColumns="False"
									BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3">
									<SelectedItemStyle Font-Bold="True" BackColor="LemonChiffon"></SelectedItemStyle>
									<ItemStyle Wrap="False" ForeColor="#000066"></ItemStyle>
									<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#006699"></HeaderStyle>
									<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
									<Columns>
										<asp:BoundColumn Visible="False" DataField="LeaveID" HeaderText="ID"></asp:BoundColumn>
										<asp:BoundColumn DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd HH:mm}">
											<ItemStyle Wrap="False"></ItemStyle>
										</asp:BoundColumn>
										<asp:BoundColumn DataField="EndTime" HeaderText="结束时间" DataFormatString="{0:yyyy-MM-dd HH:mm}">
											<ItemStyle Wrap="False"></ItemStyle>
										</asp:BoundColumn>
										<asp:BoundColumn DataField="SubmitTime" HeaderText="提交时间" DataFormatString="{0:yyyy-MM-dd HH:mm}">
											<ItemStyle Wrap="False"></ItemStyle>
										</asp:BoundColumn>
										<asp:BoundColumn DataField="Status" HeaderText="状态"></asp:BoundColumn>
										<asp:BoundColumn DataField="Hours" HeaderText="小时数"></asp:BoundColumn>
										<asp:ButtonColumn Text="详细情况..." CommandName="Detail"></asp:ButtonColumn>
										<asp:BoundColumn Visible="False" DataField="ApproverName" HeaderText="审批者"></asp:BoundColumn>
										<asp:BoundColumn Visible="False" DataField="Reason" HeaderText="请假事由"></asp:BoundColumn>
										<asp:BoundColumn Visible="False" DataField="DenyReason" HeaderText="否决理由"></asp:BoundColumn>
									</Columns>
									<PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
								</asp:datagrid>
							</asp:panel></TD>
					</TR>
				</TABLE>
			</FONT>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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