<%@ Page Title="" Language="C#" MasterPageFile="~/BackCenter/Home/Index.master" AutoEventWireup="true" CodeFile="VideoContent.aspx.cs" Inherits="BackCenter_Video_VideoContent" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContextPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">

<div class="r_top_line">
        <cite style="float: right">
            <img src="/App_Themes/BackCenter/images/right_tr.gif" /></cite></div>
    <div class="r_tit">
        <p class="home">
            位置：后台中心 >> 数据管理 >> 教学视频 >> 视频评论列表
        </p>
    </div>
    <div class="bd">

<div class="tit_xs">
            <h2>视频评论列表 </h2>
        </div>
        
        <asp:GridView ID="GridView1" GridLines="None" runat="server" Width="100%"  
            DataKeyNames="Id" AutoGenerateColumns="False" CssClass="tab_style" >
        <Columns>
                <asp:BoundField DataField="Id" HeaderText="ID" 
                    ItemStyle-HorizontalAlign="Center"  HeaderStyle-Width="40px" > 
              
                </asp:BoundField>
                
                <asp:BoundField DataField="Content" HeaderText="评论内容"  ItemStyle-HorizontalAlign="Center"   >
                </asp:BoundField>
                <asp:BoundField DataField="Account" HeaderText="评论人用户名" 
                    ItemStyle-HorizontalAlign="Center"   HeaderStyle-Width="80px" > 
                </asp:BoundField>
                <asp:BoundField DataField="Name" HeaderText="评论人" 
                    ItemStyle-HorizontalAlign="Center"   HeaderStyle-Width="80px" > 
                </asp:BoundField>
                
                <asp:BoundField DataField="AddTime" HeaderText="评论时间" 
                    ItemStyle-HorizontalAlign="Center"  HeaderStyle-Width="130px"  > 
                </asp:BoundField>

               <asp:TemplateField HeaderText="删除" HeaderStyle-Width="40px">
                    <ItemTemplate>
                    <asp:LinkButton ID="btnDelete" CommandArgument='<%# Eval("Id") %>' runat="server" OnCommand="btnDelete_Command" Text="<div class=&quot;bluelk&quot; id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定要删除该记录吗？')&quot;>[删除]</div>"></asp:LinkButton>
                    </ItemTemplate>

<HeaderStyle Width="40px"></HeaderStyle>
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                暂无相关数据!
            </EmptyDataTemplate>
        </asp:GridView>
                
        <div class="sabrosus">
        <webdiyer:AspNetPager ID="AspNetPager1" PageSize="10" HorizontalAlign="Center" Font-Bold="true"
                    CssClass="" runat="server" Width="100%" CenterCurrentPageButton="True"
                    OnPageChanging="AspNetPager1_PageChanging" ShowPageIndexBox="Never" FirstPageText="首页"
                    PrevPageText="上一页" NextPageText="下一页" LastPageText="尾页" PageIndexBoxType="TextBox"
                    CurrentPageButtonTextFormatString="{0:[0]}" AlwaysShow="false" ShowNavigationToolTip="True"
                    CustomInfoHTML="记录总数：%RecordCount%" ShowCustomInfoSection="Left">
                </webdiyer:AspNetPager>
        </div>
</div>
</asp:Content>

