<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Admin.User.KS_UserImportXlsx" Codebehind="KS.UserImportXlsx.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" runat="server">
    <div id="manage_top" class="toptitle menu_top_fixed">
        <ul class="titleTab">
            <li><a href="KS.UserAdd.Aspx">新增用户</a></li>
            <li class="curr"><a href="KS.UserImportXlsx.Aspx">外部数据源批量导入</a></li>
        </ul>
    </div>
    <div class="menu_top_fixed_height"></div>
    <asp:Panel ID="InportPanel" runat="server" Width="100%">
        <div class="content-area mt20">
            <div class="myTitle">
                第一步选择要导入的数据
            </div>
            <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                <tr>
                    <td class="lefttd" style="height: 30px; text-align: right">
                        <strong>选择Excel文件：</strong></td>
                    <td class="lefttd" style="height: 30px; text-align: left">
                        <asp:TextBox ID="ConnStr" runat="server" Width="450px">请上传要导入的文件！</asp:TextBox>
                    </td>
                    <td class="left" style="height: 30px; text-align: left"><%=Kesion.APPCode.UploadAPI.EchoUpload("uploadexcelfile",this.ConnStr.ClientID) %></td>
                </tr>
                <tr>
                    <td></td>
                    <td>下载Excel模板：<a href="/admin/Crm/excel/会员导入模板.xlsx" class="greenFont" target="_blank">下载Excel示例文件</a>
                        可通过此excel导入<br/><span style="color:red">(该导入模板只是部分字段信息，如有新增字段，请自行添加！)</span></td>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <asp:Button ID="Button1" runat="server" CssClass="button button_on" OnClick="Button1_Click" Text="下一步" /></td>
                    <td></td>
                </tr>
            </table>
        </div>


    </asp:Panel>
    <asp:Panel ID="Panel1" runat="server" Width="100%" Visible="false">
        <div class="content-area mt20">
            <div class="myTitle">
                第二步自定义选择要导入的数据
            </div>
           <asp:Label ID="Label1" runat="server" Text="" /> 
            <div class="main-button" style="text-align:center;">
             <asp:Button ID="Button2" runat="server" CssClass="button button_on" OnClick="Button2_Click"  Text="确定导入" />
            </div>
            <script>
              function showSalt(obj){
                     if (obj.checked){
                         $("#showsalt").hide();
                     }else{
                         $("#showsalt").show();
                     }
              }
            </script>
        </div>
    </asp:Panel>

</asp:Content>
