AttenDanceManager.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AttenDanceManager.aspx.cs" Inherits="AttenDanceManager" %>
  2. <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  4. <html>
  5. <head>
  6.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  7. </head>
  8.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  9. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  10. <form runat="server" id="fm1">
  11.     <br>
  12.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center"
  13.         border="0">
  14.         <tr>
  15.             <th colspan="3" style="height: 25px">
  16.                 考勤查询</th>
  17.         </tr>
  18.                <tr>
  19.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  20.                 &nbsp;用户名:<asp:TextBox ID="KeyValue_UserName" runat="server" Width="86px"></asp:TextBox>&nbsp; 考勤类别:<asp:DropDownList ID="DropDownList1" runat="server">
  21.                     <asp:ListItem>上班</asp:ListItem>
  22.                     <asp:ListItem>下班</asp:ListItem>
  23.                     <asp:ListItem>外出</asp:ListItem>
  24.                     <asp:ListItem>出差</asp:ListItem>
  25.                     <asp:ListItem>请假</asp:ListItem>
  26.                 </asp:DropDownList>
  27.                 开始时间:<asp:TextBox
  28.                     ID="DateTimeTextBox1" runat="server" Width="104px" onblur="IsDate(this)"
  29.                                     onclick="calendar()"></asp:TextBox>        <img align="absMiddle" border="0" 
  30.                                         src="../images/calendar.gif" style="cursor: hand" />
  31.                 结束时间:<asp:TextBox ID="DateTimeTextBox2" runat="server" Width="105px" onblur="IsDate(this)"
  32.                                     onclick="calendar()"></asp:TextBox>        <img align="absMiddle" border="0" 
  33.                                         src="../images/calendar.gif" style="cursor: hand" />&nbsp;
  34.                 <asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
  35.                     Text="查询" /></td>
  36.         </tr>
  37.          <tr>
  38.                       <td align="left" class="usertablerow1" colspan="2">
  39.   <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" PageSize="20" OnRowDataBound="GridView1_RowDataBound" Width="100%">
  40.             <Columns>
  41.                 <asp:BoundField DataField="ID" HeaderText="ID" />
  42.                  <asp:BoundField DataField="KQLX" HeaderText="考勤类别" >
  43.                      <ItemStyle HorizontalAlign="Center" />
  44.                  </asp:BoundField>
  45.                          <asp:TemplateField HeaderText="规定时间">
  46.                          <HeaderStyle  Width="200px" />
  47.                          <ItemTemplate>
  48.                          <%#GuiDingShiJian()%>
  49.                          </ItemTemplate>                         
  50.                              <ItemStyle HorizontalAlign="Center" />
  51.                          </asp:TemplateField>
  52.                 <asp:BoundField DataField="DJR" HeaderText="考勤人" >
  53.                     <ItemStyle HorizontalAlign="Center" />
  54.                 </asp:BoundField>
  55.                 <asp:BoundField DataField="DJSJ" HeaderText="登记时间" >
  56.                     <ItemStyle HorizontalAlign="Center" />
  57.                 </asp:BoundField>
  58.          
  59.                      </Columns>
  60.                 <RowStyle CssClass="usertablerow2" />
  61.                 <AlternatingRowStyle CssClass="usertablerow1" />
  62.                  </asp:GridView><webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging">
  63.                 </webdiyer:AspNetPager>  
  64.    </td>
  65.    
  66.          
  67.         </tr>
  68.    
  69.                       
  70.      
  71.      
  72.     </table>
  73.     <br>
  74.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  75.         border="0">
  76.         <tr>
  77.             <th colspan="2">
  78.                 使用方法</th>
  79.         </tr>
  80.         <tr>
  81.             <td class="usertablerow1" align="right" width="11%">
  82.                 <strong>特殊说明</strong></td>
  83.             <td class="usertablerow1" width="89%">
  84.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  85.         </tr>
  86.     </table>
  87.     </form>
  88.     
  89. </body>
  90. </html>