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

📄 manualsignsearch.aspx

📁 办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ManualSignSearch.aspx.cs" Inherits="ManualSign_ManualSignSearch" Title="考勤历史查询" %>

<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: 98%"><DIV style="WIDTH: 98%; TEXT-ALIGN: center"><STRONG><SPAN style="FONT-SIZE: 12pt">员 工 考 勤 历 史 记 录 查 询</SPAN></STRONG></DIV><DIV style="WIDTH: 98%">&nbsp;&nbsp; 输入时间段: &nbsp; &nbsp;开始时间:<asp:TextBox id="txtStartTime" onfocus="new WdatePicker(this,null,false,'whyGreen')" runat="server" Width="153px"></asp:TextBox>&nbsp; &nbsp; &nbsp; 结束时间:--<asp:TextBox id="txtEndTime" onfocus="new WdatePicker(this,null,false,'whyGreen')" runat="server" Width="136px"></asp:TextBox>&nbsp; &nbsp;&nbsp; <asp:RadioButton id="radioMonth" runat="server" Text="本月" Width="50px" Checked="True" GroupName="time" AutoPostBack="True"></asp:RadioButton> &nbsp; &nbsp; <asp:RadioButton id="radioWeek" runat="server" Text="本周" GroupName="time" AutoPostBack="True"></asp:RadioButton> &nbsp; &nbsp;&nbsp; &nbsp;<asp:RadioButton id="radionDay" runat="server" Text="本日" Width="46px" GroupName="time" AutoPostBack="True"></asp:RadioButton> 
<HR />
</DIV><DIV style="WIDTH: 98%" align=left><asp:Image id="Image1" runat="server" ImageUrl="~/images/search2.gif"></asp:Image> <asp:Label id="Label5" runat="server" Text="查找范围:"></asp:Label> <asp:CheckBox id="CheckBox1" runat="server" Text="按机构" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged1"></asp:CheckBox> <asp:CheckBox id="CheckBox2" runat="server" Text="按部门" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged"></asp:CheckBox> <asp:CheckBox id="CheckBox3" runat="server" Text="按员工号" AutoPostBack="True" OnCheckedChanged="CheckBox3_CheckedChanged"></asp:CheckBox> <asp:CheckBox id="CheckBox4" runat="server" Text="按姓名" AutoPostBack="True" OnCheckedChanged="CheckBox4_CheckedChanged"></asp:CheckBox> <BR />
<HR />
</DIV><DIV runat="server">机构:<asp:DropDownList id="ddlBranch" runat="server" Width="128px" AutoPostBack="True" Enabled="False" OnSelectedIndexChanged="ddlBranch_SelectedIndexChanged">
            </asp:DropDownList> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; 部门:<asp:DropDownList id="ddlDempartment" runat="server" Width="92px" AutoPostBack="True" Enabled="False">
            </asp:DropDownList> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 员工号:<asp:TextBox id="txtEmployeeNumber" runat="server" Width="56px" Enabled="False"></asp:TextBox> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 姓名:&nbsp; <asp:TextBox id="txtEmployeeName" runat="server" Width="68px" Enabled="False"></asp:TextBox> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; (模糊查找 eg:李)<BR /><BR /><CENTER><asp:ImageButton id="imgBtnSearch" onclick="imgBtnSearch_Click" runat="server" ImageUrl="~/images/search.gif" Width="100px" Height="24px"></asp:ImageButton>&nbsp;</CENTER></DIV><DIV><asp:GridView id="GridView1" runat="server" Width="750px" Height="98px" OnRowDataBound="GridView1_RowDataBound" BorderColor="Cyan" AllowPaging="True" AutoGenerateColumns="False">
                <Columns>
                    <asp:TemplateField HeaderText="签到员工" SortExpression="User">
                        <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("UserId") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="签卡时间" SortExpression="SignTag">
                        <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("SignTime") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="签卡标记" SortExpression="SignTime">
                        <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="Label3" runat="server" Text='<%# SetString(Eval("SignTag").ToString()) %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="签卡备注" SortExpression="Remark">
                        <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="Label4" runat="server" Text='<%# Eval("SignDesc") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="所属部门" SortExpression="User">
                        <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="Label5" runat="server" Text='<%# Eval("DepartName") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="所属机构" SortExpression="User">
                        <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="Label6" runat="server" Text='<%# Eval("BranchName") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                </Columns>
            </asp:GridView> </DIV></DIV></DIV>
</contenttemplate>
    </asp:UpdatePanel>
</asp:Content>

⌨️ 快捷键说明

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