<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    Inherits="PowerEasy.Module.General.WebSite.Admin.Accessories.MailListExport" Title="邮件列表批量导出"
    Codebehind="MailListExport.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="Server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="Server">
    <table style="text-align: center" border="0" cellpadding="2" cellspacing="1" class="border"
        width="100%">
        <tr class="title">
            <td class="title" colspan="2" style="text-align: center;">
                <b>邮件列表批量导出到Excel</b></td>
        </tr>
        <tr class="tdbg">
            <td style="text-align: right; height: 80px; width: 24%">
                导出邮件列表到Excel：</td>
            <td style="height: 80px; width: 76%">
                &nbsp;&nbsp; <span style="color: #0000ff">导出</span> &nbsp;<asp:DropDownList ID="DropGroup1"
                    runat="server" Width="90px">
                    <asp:ListItem Selected="True" Value="0">全部会员</asp:ListItem>
                </asp:DropDownList>
                <span style="color: #0000ff">到Excel</span>
                &nbsp;<asp:Button ID="BtnSaveExcel" runat="server" OnClick="BtnSaveExcel_Click" Text="开始"/><br />
                </td>
        </tr>
    </table>
    <br />
    <table style="text-align: center; width: 100%;" border="0" cellpadding="2" cellspacing="1"
        class="border">
        <tr class="title">
            <td style="text-align: center;" class="title" colspan="2">
                <b>邮件列表批量导出到文本</b></td>
        </tr>
        <tr class="tdbg">
            <td style="text-align: right; height: 80px; width: 24%">
                导出邮件列表到文本：</td>
            <td style="height: 80px; width: 76%">
                &nbsp;&nbsp; <span style="color: #0000ff">导出</span> &nbsp;<asp:DropDownList ID="DropGroup2"
                    runat="server" Width="90px">
                    <asp:ListItem Selected="True" Value="0">全部会员</asp:ListItem>
                </asp:DropDownList>
                <span style="color: #0000ff">到</span>
                <asp:TextBox ID="TxtExportToText" runat="server" MaxLength="200" Width="180px">maillist.txt</asp:TextBox>&nbsp;
                <asp:Button ID="BtnSaveText" runat="server" OnClick="BtnSaveText_Click" Text="开始" ValidationGroup="ExportToText" /><br />
                <pe:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtExportToText"
                    Display="Dynamic" ErrorMessage="请输入要导出的数据库文件名！" ValidationGroup="ExportToText" RequiredText=""></pe:RequiredFieldValidator></td>
        </tr>
    </table>
</asp:Content>
