<%@ Page Title="批量导入会员" Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/MasterPage.master" CodeBehind="UserBatchImport.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.Admin.User.UserBatchImport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="server">
    <pe:SsmsSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="server">
    <table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
        <tr align="center">
            <td colspan="2" class="spacingtitle">
                <b>
                    批量导入会员
                </b>
            </td>
        </tr>
        <tr class="tdbg">
            <td width="15%" align="right" class="tdbgleft">
                <strong>选择导入文件:</strong>
            </td>
            <td>
                <asp:FileUpload ID="FuImprot" runat="server" Width="400px" />
                <pe:RequiredFieldValidator ID="ValrExcellFile" ControlToValidate="FuImprot" runat="server"
                    ErrorMessage="请选择你要上传的文件！" RequiredText="*" Display="Dynamic" ValidationGroup="EditCalendar"></pe:RequiredFieldValidator>
                &nbsp;
                <asp:LinkButton ID="LbExport" runat="server" Text="下载模板" OnClick="LbExport_Click" />
            </td>
        </tr>
        <tr align="center" class="tdbg">
            <td height="50" colspan="2">
                <asp:Button ID="BtnSubmit" Text="导入" runat="server" OnClick="BtnSubmit_Click" ValidationGroup="EditCalendar" />
                <input type="button" value="返回会员管理" onclick="window.location = 'UserManage.aspx'" />
            </td>
        </tr>
    </table>
    <div id="prompt-note">
        <dl>
            <dt class="prompt-note-tit">
                <span>温馨提醒</span>
            </dt>
            <dd class="prompt-note-con">
                <li>导入前请先下载模板,并严格按照模板格式导入数据,否则可能导入失败；</li>
                <li>由于批量导入操作比较占用资源，请不要上传过大的文件，建议在服务器访问人数少时进行！</li>
            </dd>
        </dl>
    </div>
</asp:Content>