<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sys_Success.aspx.cs" Inherits="SWTraining.SMS.sys_Success"
    Title="短信管理-成功短信" %>

<%@ Import Namespace="SWTraining" %>
<!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 runat="server">
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="divpanel">
        <asp:GridView ID="GridView1" runat="server" CssClass="gridview" AutoGenerateColumns="False"
            DataKeyNames="smsID" OnRowDeleting="GridView1_RowDeleting" OnRowDataBound="GridView1_RowDataBound"
            EnableModelValidation="True">
            <Columns>
                <asp:BoundField DataField="smsID" HeaderText="短信编号" ReadOnly="True" />
                <asp:BoundField DataField="ClientName" HeaderText="接收者" />
                <asp:TemplateField HeaderText="手机号">
                    <ItemTemplate>
                        <%# ShowSMSGroup((string)Eval("TargetNo"))%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Content" HeaderText="内容" />
                <asp:BoundField DataField="DateAndTime" HeaderText="时间" />
                <asp:BoundField DataField="SchoolID" HeaderText="校区" />
                <asp:BoundField DataField="ValidCount" HeaderText="有效号" />
                <asp:BoundField DataField="BillingCount" HeaderText="计费(单)" />
                <asp:BoundField DataField="Gangway" HeaderText="通道" />
                <asp:BoundField DataField="TrueName" HeaderText="发送者" />
                <asp:TemplateField HeaderText="删除">
                    <ItemTemplate>
                        <asp:LinkButton ID="lbnDelete" runat="server" Text="删除" CommandName="Delete" OnClientClick="<%# Rs.Messages.确定删除%>"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    <div class="divpanel">
        <asp:Literal ID="litPagerButton" runat="server"></asp:Literal>
    </div>
    <div class="tool_Search">
        <label class="lab_buttom">
<asp:Button ID="btnClear" runat="server" OnClick="btnClear_Click" Text="全部清空" OnClientClick="return confirm('您确定要清除所有短信？');" />
</label>
    </div>
    <div class="both">
    </div>
    <div class="divpanel">
        <b>注意事项：</b><br />
        1、<img src="../images/sms_ico1.gif" />表示单条发送，一次仅发送给一个手机号码。<br />
        2、<img src="../images/sms_ico2.gif" />表示批量发送，一次发送给多个手机号码。<br />
    </div>
    </form>
</body>
</html>
