<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_attendanceupload.aspx.cs" Inherits="Web.kq.admin.login_attendanceupload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="../../css/admincss/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
     <form id="form1" runat="server" >
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">出勤查询</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(../../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
        <asp:Panel ID="pl"  runat="server" >

<!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                批量导入出勤记录</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        
        <div >    
            <table style ="width :100%">
                <tr>
                    <td >
                      <asp:FileUpload ID="FileUpload1" runat="server" />
        <asp:Button ID="btLoad1" runat="server" onclick="btLoad1_Click" Text="导入预览" />（只显示前10行数据明细）

            <asp:Label ID="lbRowsNum1" runat="server" ForeColor="Red"></asp:Label>
                        <asp:Button ID="btEXCEL_up" runat="server" 
                            Text="导出更新后的考勤表" Visible="False" onclick="btEXCEL_up_Click" />
                    </td>
                    <td style ="text-align :right ; padding-right :10px ">
                              点击后面图标下载EXCEL样表
                         <a href ="../../share/attendance.xls" >
                         <asp:Image ID="Image1" runat="server" 
                             ImageUrl="~/css/Images/excel.jpg" /> </a> </td>
                </tr>
            </table><asp:Label ID="lbFailMessage" runat="server" ForeColor="Red"></asp:Label>
        <asp:GridView ID="GridView1" runat="server" BorderWidth="1px" 
                onrowdatabound="GridView1_RowDataBound" Width="100%" CssClass="gv" cellspacing="1">
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
    
        <br />
        
        <table style ="width :100%" >
        <tr>
        <td style ="text-align :left ">
        <asp:Button ID="btLoad2" runat="server" onclick="btLoad2_Click" Text="确认导入" CausesValidation="False" 
                                        Visible="False" />
                                    </td>
        <td style ="text-align :right ">
            <asp:Button ID="btExcel" runat="server" CausesValidation="False" 
                onclick="btExcel_Click" Text="导出到EXCEL" Visible="False" />
            </td>
        </tr>
        </table>
  </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
 </asp:Panel> 
   
    </td>
    <td  style =" background-image:url(../../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td   class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
