<%@ Page Language="C#" MasterPageFile="~/UI.Master" AutoEventWireup="true" CodeBehind="MyReply.aspx.cs" Inherits="LZBS.Web.MyReply" Title="留言回复" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label>&nbsp;留言回复管理<br />
    <div style="text-align:left;">
        
        <table frame="below" rules="rows" border="1" bordercolor="blue" cellspacing="0" style="border-collapse:collapse" >
            <tr>
                <td style="width:600px;"><asp:Label ID="lblContent" runat="server" Text=""></asp:Label></td>
                <td style="width:110px;">留言者：<asp:Label ID="lblMemberID" runat="server" Text=""></asp:Label></td>
                <td style="width:176px;">留言时间：<asp:Label ID="lblTime" runat="server" Text=""></asp:Label></td>
                <td style="width:50px;"></td>
            </tr>
        
        <asp:Repeater ID="rptReply" runat="server">
        <HeaderTemplate></HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td><%# DataBinder.Eval(Container.DataItem, "Content")%></td>
                <td>回复者&nbsp;&nbsp;：<%# DataBinder.Eval(Container.DataItem, "Account")%></td>
                <td>回复时间：<%# DataBinder.Eval(Container.DataItem, "ReplyTime")%></td>
                <td style="width:50px; text-align:center;"><asp:LinkButton ID="LinkButton1" runat="server" 
                                    CommandName='<%# DataBinder.Eval(Container.DataItem, "ReplyID")%>' 
                                    OnClientClick="javascript:return confirm('确认删除吗？')" 
                                    oncommand="lbDelete_Command">删除</asp:LinkButton>
                </td>
                
            </tr>
        <%--<tr style="border-width: thin; border-color: #0066FF;">
            <td style="width:90%;"><%# DataBinder.Eval(Container.DataItem, "Content")%>
                                    <div style="text-align:right">
                                    回复者：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "Account")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
                                    回复时间：<%# DataBinder.Eval(Container.DataItem, "ReplyTime")%>
                                    </div>
            </td>
            <td style="width:10%;"><asp:LinkButton ID="lbDelete" runat="server" 
                                    CommandName='<%# DataBinder.Eval(Container.DataItem, "ReplyID")%>' 
                                    OnClientClick="javascript:return confirm('确认删除吗？')" 
                                    oncommand="lbDelete_Command">删除</asp:LinkButton></td> 
        </tr>--%>
        </ItemTemplate>
        <FooterTemplate></FooterTemplate>
        </asp:Repeater>
        </table>
        <div style="line-height:35px;">
        <span style="font-family: 宋体; font-size: large; font-weight: bolder">回复该条留言</span>
                <br />

            <asp:TextBox ID="txtContent" runat="server" Height="100px" TextMode="MultiLine" 
                    Width="615px"></asp:TextBox>
                <br />
        
        <div style="text-align:left; margin-left:200px;">
            <asp:Button ID="btnConfirm" runat="server" Text="确  定" 
                onclick="btnConfirm_Click" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input id="btnCancel" type="reset" value="取  消" style=" width:50px; height:20px;" />
        </div>
        </div>
</div>
</asp:Content>
