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

<!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 :31px"  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 " >

<!--  一组内容模块开始   --> 
    <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>
        
                <table style ="width :100%">
                <tr>
                    <td >
                        考核周期：<asp:DropDownList ID="ddlDate" runat="server">
                        </asp:DropDownList>
                      &nbsp;部门：<asp:DropDownList 
                               ID="ddlDepartment" runat="server" AutoPostBack="True" 
                               onselectedindexchanged="ddlDepartment_SelectedIndexChanged"> </asp:DropDownList>
                      <asp:FileUpload ID="FileUpload1" runat="server" />
        &nbsp;<asp:Button ID="btLoad1" runat="server" onclick="btLoad1_Click" Text="导入预览" />（只显示前10行数据明细）        <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>

            <asp:Label ID="lbRowsNum1" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                    <td style ="text-align :right ; padding-right :10px ">
                              点击后面图标下载EXCEL样表
                        
                         <asp:ImageButton ID="ImageButton1" runat="server" 
                                  ImageUrl="~/css/images/excel.jpg" onclick="ImageButton1_Click" />  </td>
                </tr>
            </table>
            
            
            
            

        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
   
<!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0" id= "tableview"   runat ="server"  >
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft "><div>导入数据预览（如果数据多于10行，预览中只显示前10行）</div> </div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td >
      <div style ="margin-top :10px; margin-bottom :10px"  >
        <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></div>

        <table style ="width :100%" >
        <tr>
        <td style ="text-align :left ">
            &nbsp;</td>
        <td style ="text-align :right ">
            <asp:Button ID="btExcel" runat="server" CausesValidation="False" 
                onclick="btExcel_Click" Text="导出到EXCEL" Visible="False" />
            </td>
        </tr>
        </table>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->

<!--  一组内容模块开始   --> 
    <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 ">系统设定项目和EXCEL表项目对照</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
<table border="1" class ="table " cellpadding ="0" cellspacing ="0" style ="width :100%;"  >
                    <tr>
                        <td class ="tabletd_right " style ="width:110px">
                            系统设定项目</td>
                                                <td class ="tabletd_left ">
                                                    <asp:Label ID="lbsql" runat="server"></asp:Label>
                                                &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td class ="tabletd_right ">
                                                    EXCEL表中项目</td>
                                                <td class ="tabletd_left ">
                                                    <asp:Label ID="lbexcel" runat="server"></asp:Label>
                                                &nbsp;</td>
                                            </tr>
                                            </table><asp:Button ID="btLoadt" runat="server" Text="确认导入"  Visible ="false" 
                                                    onclick="btLoadt_Click" />
                                      
                   
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->

    </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>
