📄 summary.aspx
字号:
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Common/Header.ascx" %>
<%@ Page language="c#" Codebehind="Summary.aspx.cs" AutoEventWireup="false" Inherits="BlueHill.Salary.Summary" %>
<%@ Register TagPrefix="uc1" TagName="Left" Src="Left.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Summary</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">
<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">
<br>
<asp:Panel id="pnlSearch" runat="server" Height="336px">
<TABLE id="Table2" style="WIDTH: 500px; HEIGHT: 152px" cellSpacing="0" cellPadding="0"
width="500" align="center" border="0">
<TR>
<TD width="70">开始时间:</TD>
<TD width="180">
<asp:TextBox id="txtStartTime" runat="server"></asp:TextBox>
<asp:CompareValidator id="CompareValidator1" runat="server" Type="Date" Operator="DataTypeCheck" Display="Dynamic"
ErrorMessage="开始时间格式不正确" ControlToValidate="txtStartTime"></asp:CompareValidator></TD>
<TD width="80">结束时间:</TD>
<TD width="170">
<asp:TextBox id="txtEndTime" runat="server"></asp:TextBox>
<asp:CompareValidator id="CompareValidator2" runat="server" Type="Date" Operator="DataTypeCheck" Display="Dynamic"
ErrorMessage="结束时间格式不正确" ControlToValidate="txtEndTime"></asp:CompareValidator></TD>
</TR>
<TR>
<TD style="HEIGHT: 40px" colSpan="4">
<asp:CheckBox id="chkSort" runat="server" Text="按工资排序" Checked="True" AutoPostBack="True"></asp:CheckBox></TD>
</TR>
<TR>
<TD colSpan="4">
<asp:RadioButtonList id="rdoAscendList" runat="server" Width="144px" RepeatColumns="2">
<asp:ListItem Value="0" Selected="True">降序</asp:ListItem>
<asp:ListItem Value="1">升序</asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD style="HEIGHT: 15px" colSpan="4">
<asp:Label id="lblDept" runat="server">选择要查看的部门:</asp:Label>
<asp:DropDownList id="cmbDeptList" runat="server" Width="120px"></asp:DropDownList></TD>
</TR>
<TR>
<TD style="HEIGHT: 27px" colSpan="4">
<asp:Button id="btnSearch" runat="server" Text="显示结果"></asp:Button>
<asp:Label id="lblDeptID" runat="server" Visible="False"></asp:Label></TD>
</TR>
<TR>
<TD style="HEIGHT: 153px" vAlign="top" colSpan="4">
<asp:DataGrid id="grdResult" runat="server" Width="480px" AllowSorting="True" CellPadding="4"
BackColor="White" BorderWidth="1px" BorderStyle="None" BorderColor="#3366CC" AutoGenerateColumns="False">
<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
<ItemStyle ForeColor="#003399" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" BackColor="#003399"></HeaderStyle>
<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="EmployeeName" HeaderText="员工姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="BasicSalary" HeaderText="基本工资"></asp:BoundColumn>
<asp:BoundColumn DataField="OvertimeSalary" HeaderText="加班工资"></asp:BoundColumn>
<asp:BoundColumn DataField="AbsenceSalary" HeaderText="考勤扣除"></asp:BoundColumn>
<asp:BoundColumn DataField="OtherSalary" HeaderText="其他增减"></asp:BoundColumn>
<asp:BoundColumn DataField="ActualSalary" SortExpression="ActualSalary" HeaderText="最终所得"></asp:BoundColumn>
</Columns>
<PagerStyle HorizontalAlign="Left" ForeColor="#003399" BackColor="#99CCCC" Mode="NumericPages"></PagerStyle>
</asp:DataGrid></TD>
</TR>
</TABLE></asp:Panel>
<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label></TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -