<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Success.aspx.cs" Inherits="MTCUN.User.Sms_Success"
    Title="成功短信-短信" %>

<%@ Import Namespace="MTCUN" %>
<!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">
                <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>
                            <div class="lab_button_sub" id="divDelete" runat="server">
                                <asp:LinkButton ID="lbnDelete" runat="server" Text="删除" CommandName="Delete" OnClientClick="<%# Rs.Messages.确定删除%>"></asp:LinkButton>
                            </div>
                        </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_button">
                <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>
