📄 signstatistic.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="SignStatistic.aspx.cs" Inherits="ManualSign_ManualSingStatistics" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<div style="width: 99%" align="center">
<div style="width: 95%">
<div style="width: 99%">
<span style="font-size: 12pt;"><strong>员 工 考 勤 统 计</strong></span><br />
</div>
<div style="width: 99%" align="left">
输入时间段: 开始时间:<asp:TextBox ID="txtStartTime" runat="server" onfocus="new WdatePicker(this,null,false,'whyGreen')"></asp:TextBox>---------结束时间:<asp:TextBox
ID="txtEndTime" runat="server" onfocus="new WdatePicker(this,null,false,'whyGreen')"></asp:TextBox>
<asp:RadioButton ID="radDay" runat="server" GroupName="Date" Text="本日" />
<asp:RadioButton ID="radWeek" runat="server" GroupName="Date" Text="本周" />
<asp:RadioButton ID="radMonth" runat="server" Checked="True" GroupName="Date" Text="本月" />
<hr />
机构:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
Width="187px" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
</asp:DropDownList>
部门:<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True"
Width="161px">
</asp:DropDownList>
<asp:Button ID="btnStat" runat="server" Text="统计" Width="115px" BackColor="SkyBlue" BorderStyle="Outset" OnClick="btnStat_Click" />
<asp:Button ID="btnExcel" runat="server" Text="导入Excel打印" Width="126px" BackColor="SkyBlue" BorderStyle="Outset" Enabled="False" /></div>
<br />
<div id="DIV1" runat="server" style="width:99%">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderColor="Cyan" Width="99%">
<Columns>
<asp:BoundField DataField="Name" HeaderText="姓名" />
<asp:BoundField DataField="Duty" HeaderText="出勤率(%)" />
<asp:BoundField DataField="Late" HeaderText="迟到次数" />
<asp:BoundField DataField="Learve" HeaderText="早退次数" />
<asp:BoundField DataField="AbsentWork" HeaderText="旷工次数" />
<asp:TemplateField HeaderText="所属部门">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Branch") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="所属机构">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("Department") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
制表人:<asp:Label ID="lblCreateTabelName" runat="server"></asp:Label>
上报日期:<asp:Label
ID="lblAppearName" runat="server"></asp:Label></div>
</div>
</div>
</contenttemplate>
</asp:UpdatePanel>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -