Web/Admin/AdvicesList.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Title="意见列表" Language="C#" MasterPageFile="~/Admin/BackMasterPage.master" AutoEventWireup="true" CodeFile="AdvicesList.aspx.cs" Inherits="Admin_AdvicesList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">
    function GetAllCheckBox(checkall) {
        var items = document.getElementsByTagName("input");
        for (i = 0; i < items.length; i++) {
            if (items[i].type == "checkbox") {
                items[i].checked = checkall.checked;
            }
        }
    }
</script>
<div align="left">
 <asp:Label ID="lblNoAdvice" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
    <br />
    <hr style="color: #FF6600" />
    &nbsp;<asp:LinkButton ID="lbtnHuifu" runat="server" onclick="lbtnHuifu_Click">批量回复</asp:LinkButton>
&nbsp;
    <asp:LinkButton ID="lbtnHui" runat="server" onclick="lbtnHui_Click">已回复</asp:LinkButton>
    (<asp:Label ID="lblHui" runat="server" ForeColor="Red"></asp:Label>
    条)&nbsp;
    <asp:LinkButton ID="lbtnUnHui" runat="server" onclick="lbtnUnHui_Click">未回复</asp:LinkButton>
    (<asp:Label ID="lblUnHui" runat="server" ForeColor="Red"></asp:Label>
    条)&nbsp;
    <asp:LinkButton ID="lbtnAll" runat="server" onclick="lbtnAll_Click">全部建议</asp:LinkButton>
    (<asp:Label ID="lblAll" runat="server" ForeColor="#FF6600"></asp:Label>
    人)<br />
    <hr style="color: #FF6600" />
    <asp:GridView ID="gvAdvices" runat="server" AllowPaging="True" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" 
        BorderWidth="1px" CellPadding="3" Width="100%" onpageindexchanging="gvAdvices_PageIndexChanging" DataKeyNames="ID" 
            PageSize="5" onrowdatabound="gvAdvices_RowDataBound" EnableModelValidation="True" onrowdeleting="gvAdvices_RowDeleting">
            <PagerSettings Mode="NumericFirstLast" PageButtonCount="5" />
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" Height="20px" />
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" Height="20px" />
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <input id="cbAll" type="checkbox"onclick="GetAllCheckBox(this)" />全选
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="cbSelect" runat="server" />
                    </ItemTemplate>
                    <ItemStyle Width="50px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="编号">
                    <ItemTemplate>                
                            <asp:Label ID="lblID" runat="server" ForeColor="Red"  Text='<%# Eval("ID") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" Width="30px" />
                </asp:TemplateField>
                <asp:BoundField DataField="Title" HeaderText="主题" ReadOnly="True" 
                    SortExpression="Title">
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="Details" HeaderText="详细内容" ReadOnly="True" 
                    SortExpression="Details" />
后面还有 24 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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