📄 summary.aspx
字号:
<%@ Page language="c#" Codebehind="Summary.aspx.cs" AutoEventWireup="false" Inherits="BlueHill.Attendance.Summary" %>
<%@ Register TagPrefix="uc1" TagName="Left" Src="Left.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Common/Header.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Summary</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">
<LINK href="../Styles.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="800" align="center" border="0">
<TR>
<TD style="HEIGHT: 90px" vAlign="top" align="center" width="100%" colSpan="2"><FONT face="宋体">
<uc1:Header id="Header1" runat="server"></uc1:Header></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 500px; BACKGROUND-COLOR: #cccccc" vAlign="top" align="center" width="200">
<br>
<uc1:Left id="Left1" runat="server"></uc1:Left></TD>
<TD style="HEIGHT: 500px" vAlign="top" align="center" width="600"><FONT face="宋体">
<br>
</FONT>
<asp:Panel id="pnlSearch" runat="server">
<TABLE id="Table2" style="WIDTH: 502px; HEIGHT: 440px" cellSpacing="0" cellPadding="0"
width="502" align="center" border="0">
<TR>
<TD style="HEIGHT: 28px" width="80">开始时间:</TD>
<TD style="HEIGHT: 28px" width="170">
<asp:TextBox id="txtStartTime" runat="server"></asp:TextBox></TD>
<TD style="HEIGHT: 28px" width="80">结束时间:</TD>
<TD style="HEIGHT: 28px" width="170">
<asp:TextBox id="txtEndTime" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD style="HEIGHT: 19px" width="80"></TD>
<TD style="HEIGHT: 19px" width="170">
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" Display="Dynamic" ControlToValidate="txtStartTime"
ErrorMessage="开始时间不能为空"></asp:RequiredFieldValidator>
<asp:CompareValidator id="CompareValidator1" runat="server" Display="Dynamic" ControlToValidate="txtStartTime"
ErrorMessage="开始时间格式不正确" Operator="DataTypeCheck" Type="Date"></asp:CompareValidator></TD>
<TD style="HEIGHT: 19px" width="80"></TD>
<TD style="HEIGHT: 19px" width="170">
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" Display="Dynamic" ControlToValidate="txtEndTime"
ErrorMessage="结束时间不能为空"></asp:RequiredFieldValidator>
<asp:CompareValidator id="CompareValidator2" runat="server" Display="Dynamic" ControlToValidate="txtEndTime"
ErrorMessage="结束时间格式不正确" Operator="DataTypeCheck" Type="Date"></asp:CompareValidator></TD>
</TR>
<TR>
<TD style="HEIGHT: 35px" vAlign="top" width="500" colSpan="4">
<asp:RadioButtonList id="rdoTypeList" runat="server" Height="72px" Width="176px">
<asp:ListItem Value="0" Selected="True">按迟到次数排序</asp:ListItem>
<asp:ListItem Value="1">按早退次数排序</asp:ListItem>
<asp:ListItem Value="2">按缺勤次数排序</asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD style="HEIGHT: 45px" vAlign="top" width="500" colSpan="4">
<asp:RadioButtonList id="rdoAscendList" runat="server" Width="176px">
<asp:ListItem Value="0" Selected="True">降 序</asp:ListItem>
<asp:ListItem Value="1">升 序</asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD style="HEIGHT: 24px" width="500" colSpan="4">
<asp:Label id="lblChooseDept" runat="server">选择要查看的部门:</asp:Label>
<asp:DropDownList id="cmbDeptList" runat="server" Width="120px"></asp:DropDownList></TD>
</TR>
<TR>
<TD style="HEIGHT: 35px" width="500" colSpan="4">
<asp:Button id="btnSearch" runat="server" Width="96px" Text="显示结果"></asp:Button>
<asp:Label id="lblDeptID" runat="server" Visible="False"></asp:Label></TD>
</TR>
<TR>
<TD style="HEIGHT: 187px" vAlign="top" align="center" width="500" colSpan="4">
<asp:Label id="lblMessage" runat="server" Visible="False"></asp:Label>
<asp:DataGrid id="grdResult" runat="server" Width="500px" Visible="False" CellPadding="3" BackColor="White"
BorderWidth="1px" BorderStyle="None" BorderColor="#CCCCCC" AutoGenerateColumns="False" AllowSorting="True">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
<ItemStyle ForeColor="#000066"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#006699"></HeaderStyle>
<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="DeptID"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="EmployeeID"></asp:BoundColumn>
<asp:BoundColumn DataField="EmployeeName" HeaderText="员工姓名">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="LateCount" SortExpression="LateCount" HeaderText="迟到次数">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="EarlyCount" SortExpression="EarlyCount" HeaderText="早退次数">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="AbsenceCount" SortExpression="AbsenceCount" HeaderText="缺勤次数">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:ButtonColumn Text="详细情况..." HeaderText="详细情况" CommandName="Select">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
</asp:DataGrid></TD>
</TR>
</TABLE>
</asp:Panel>
<asp:Panel id="pnlError" runat="server">
<asp:Label id="lblError" runat="server" ForeColor="Red">对不起,该网页属经理专用,请退出!</asp:Label>
</asp:Panel>
</TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -