<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="departmentstaffupload.aspx.cs" Inherits="Web.yw.departmentstaffupload" %>

<!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>无标题页</title>
    <link href="../css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
                    <td style ="width :720px; height :34px;  background-image: url('../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	员工管理
                      	
                	</div></td>
                </tr>
            </table>
            <div><asp:Label ID="lbFailMessage" runat="server" ForeColor="Red"></asp:Label>
            
            
            
            
            </div>
            <div id="main-c-03-right02-main">
                 <asp:Panel ID="Panel3" runat="server">
<!--栏目开始 -->

            <table style ="width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); height :33px; padding-left :20px">
                    <!--这里添加栏目标题 -->
                        批量导入员工信息 &gt;&gt;</td>
                    <td style ="background-image: url('../css/images/asdfrsg.png');  text-align :right ;"> 
                        &nbsp;</td>
                    <td style ="background-image: url('../css/images/asdfrsg.png'); width :164px;text-align :right ;">
                        &nbsp;</td>
                    <td  style ="background-image: url('../css/images/asdfrsg.png'); width :76px" >&nbsp;</td>
                </tr>
                <tr>
                    <td height="10" colspan="4" style="font-weight:bolder;"></td>
                </tr>
            </table>
            <!--这里添加内容 -->
                        <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_Staffup" runat="server" onclick="btEXCEL_Staffup_Click" 
                            Text="导出更新密码后的员工信息表" Visible="False" />
                    </td>
                    <td style ="text-align :right ; padding-right :10px ">
                              点击后面图标下载EXCEL样表
                         <a href ="../share/yuangong.xls" >
                         <asp:Image ID="Image1" runat="server" 
                             ImageUrl="~/css/Images/excel.jpg" /> </a> </td>
                </tr>
            </table>
            
            
            
            
            <div>
            &nbsp;

          <div style ="margin-bottom :6px; margin-top :6px">
           <asp:GridView ID="GridView1" 
                  runat="server" BorderWidth="1px" onrowdatabound="GridView1_RowDataBound" 
                Width="100%" CssClass="gv" >
                <RowStyle BorderWidth="1px" CssClass="gvrow" />
                <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
            </asp:GridView></div> 
            
                    <table style ="width :100%" >
        <tr>
        <td style ="text-align :left ">
        <asp:Button ID="btLoad2" runat="server" onclick="btLoad2_Click" Text="确认导入" CausesValidation="False" 
                                        Visible="False" />
                                    &nbsp;
            <asp:CheckBox ID="cbPassword" runat="server" Checked="True" Text="密码加密导入" 
                Visible="False" />
                                    <asp:CheckBox ID="cbDepartment" runat="server" 
                Checked="True" Text="自动更新主管部门和单位设置" 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>

<!--栏目结束 -->
     
</asp:Panel> 

                </div>
            </div>
        </form>
    </body>
</html>

