Web/Manage/comment/Manage_comment.aspx

(开头部分) 4KB

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

<%@ Page Language="C#" MasterPageFile="~/Manage/Manage.master" AutoEventWireup="true"
    CodeFile="Manage_comment.aspx.cs" Inherits="Manage_comment" Title="管理" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<br />
    
<table border="0" cellpadding="0" cellspacing="0" width="98%" align="center" bgcolor="#B3D4E7">
        <tr>
            <td style="background-color:White">
                <asp:GridView ID="commentGrid" runat="server" AutoGenerateColumns="False" BackColor="White"
                    BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black"
                    GridLines="Horizontal" Width="100%" OnRowDeleting="commentGrid_RowDeleting" >
                    <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                    <Columns>
                        <asp:TemplateField HeaderText="选中">
                            <ItemTemplate>
                                <asp:CheckBox ID="selectid" runat="server" />
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" Width="40px" />
                        </asp:TemplateField>
                        
                                                <asp:BoundField DataField="pname" HeaderText="商品名称">
                        				        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        				        </asp:BoundField>                        			
                        
                        
                                                <asp:BoundField DataField="lname" HeaderText="评论人">
                        				        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        				        </asp:BoundField>
                        			
                          <asp:BoundField DataField="memo" HeaderText="评论内容">
                        				        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        				        </asp:BoundField>

                                                <asp:BoundField DataField="atime" HeaderText="评论时间">
                        				        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        				        </asp:BoundField>
                        			
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:ImageButton ID="Delete" runat="server" CommandName="Delete" Height="16px" ImageUrl="~/Images/delete.gif"
                                    OnClientClick="javascript:return confirm('您确定要删除吗');" ToolTip="删除..." />
                                
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" Width="120px" />
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                    <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#85CCE8" Font-Bold="True" ForeColor="SteelBlue" Height="25px"
                        HorizontalAlign="Center" CssClass="tabletitle" />
                    <RowStyle Height="20px" ForeColor="#42a7ce"/>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td height="25"  class="tbleft1">
    <webdiyer:aspnetpager id="AspNetPager1" runat="server" OnPageChanging="AspNetPager1_PageChanging" ShowCustomInfoSection="Left" CustomInfoSectionWidth="40%" ShowPageIndexBox="always" PageIndexBoxType="DropDownList"
     CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页,共%PageCount%页,每页显示%PageSize%条记录" CssClass="pages" CurrentPageButtonClass="cpb" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到第:"  PageSize="10" Width="100%" HorizontalAlign="Center"></webdiyer:aspnetpager>
            </td>
后面还有 21 行代码,购买后查看完整代码

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

AI 解读 AI

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

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