<%@ 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">
            <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="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="divpanel" style="text-align:left">
    <asp:Button ID="btnClear" runat="server" onclick="btnClear_Click" Text = "全部清空" />
    </div>
    </form>
</body>
</html>
