houtai/booklist.aspx

(完整代码) 2KB

<%@ Page Title="" Language="C#" MasterPageFile="~/Sitem.Master" AutoEventWireup="true" CodeBehind="booklist.aspx.cs" Inherits="电子商务.houtai.booklist" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" 
            CellPadding="3" DataKeyNames="book_id" 
            GridLines="Vertical" Width="646px" BackColor="White" BorderColor="#999999" 
            BorderStyle="None" BorderWidth="1px" onrowdeleting="gv_RowDeleting" 
            AllowPaging="True" onpageindexchanging="gv_PageIndexChanging">
            
            <AlternatingRowStyle BackColor="#DCDCDC" />
            
            <Columns>
                <asp:BoundField DataField="book_id" HeaderText="ID">
                <HeaderStyle HorizontalAlign="Center" CssClass="td1" Width="50px" />
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="username" HeaderText="会员ID">
                <HeaderStyle CssClass="td1" Width="100px" />
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="日期">
                    <ItemTemplate>
                     <asp:Label ID="Label1" runat="server" Text='<%# Bind("rq", "{0:d}") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle CssClass="td1" Width="200px" />
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="留言状态">
                    <ItemTemplate>
                     <%#bind_reply(Eval("remark").ToString())%>
                    </ItemTemplate>
                    <HeaderStyle CssClass="td1" Width="100px" />
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
                <HeaderStyle Width="50px" />
                <ItemStyle HorizontalAlign="Center" />
                </asp:CommandField>
                <asp:HyperLinkField DataNavigateUrlFields="book_id" 
                    DataNavigateUrlFormatString="reply.aspx?id={0}" HeaderText="回复" Text="回复">
                <FooterStyle CssClass="td1" HorizontalAlign="Center" />
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" />
                </asp:HyperLinkField>
            </Columns>
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
           
        </asp:GridView>
</asp:Content>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。