<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Sending.aspx.cs" Inherits="SWTraining.User.Sms_Sending"
    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>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <table class="table" cellspacing="0">
            <tr>
                <th>
                    发送队列
                </th>
            </tr>
            <tr>
                <td style="padding: 20px; min-height: 25px; height: 25px">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick">
                            </asp:Timer>
                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="smsID"
                                CssClass="smallgridview">
                                <Columns>
                                    <asp:BoundField DataField="smsID" HeaderText="短信编号" ReadOnly="True" />
                                    <asp:BoundField DataField="ClientName" HeaderText="接收者" />
                                    <asp:BoundField DataField="TargetNo" HeaderText="手机号" />
                                    <asp:BoundField DataField="Content" HeaderText="内容" />
                                    <asp:BoundField DataField="DateAndTime" HeaderText="时间" />
                                    <asp:BoundField DataField="Errors" HeaderText="失败次数" />
                                    <asp:BoundField DataField="TrueName" HeaderText="发送者" />
                                </Columns>
                            </asp:GridView>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnClear" runat="server" OnClick="btnClear_Click" Text = "清空队列" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
