admin/GoodsManage.aspx

(完整代码) 3KB

<%@ Page Language="C#"   MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="GoodsManage.aspx.cs" Inherits="AdminManage_GoodsManage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table cellpadding="0" cellspacing="0" align="center" height="339" width="100%">
            <tr>
                <td colspan="3" style="text-align: right">
                    &nbsp;<asp:Label ID="Label2" runat="server" Text="查询条件:"></asp:Label>
                    <asp:DropDownList ID="ddlCondition" runat="server">
                        <asp:ListItem Value="GoodsID">商品ID</asp:ListItem>
                        <asp:ListItem Value="GoodsName">商品名称</asp:ListItem>
                        <asp:ListItem Value="GoodsTypeName">商品类别</asp:ListItem>
                        <asp:ListItem Value="GoodsIsNew">是否推荐</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Label ID="Label1" runat="server" Text="关键字:"></asp:Label>
                    <asp:TextBox ID="txtKey" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSel" runat="server" Text="查询" Height="20px" Width="58px" OnClick="btnSel_Click" />
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="3" style="height: 181px; text-align: center; vertical-align: top;">
                    <br />
                    <asp:GridView ID="gvGoodsInfo" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" OnRowDataBound="gvGoodsInfo_RowDataBound" OnRowDeleting="gvGoodsInfo_RowDeleting" AllowPaging="True" PageSize="8" OnPageIndexChanging="gvGoodsInfo_PageIndexChanging" Font-Size="12pt" Width="100%" Height="83px">
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <EditRowStyle BackColor="#999999" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        <Columns>
                            <asp:BoundField DataField="GoodsID" HeaderText="商品ID" />
                            <asp:BoundField DataField="GoodsName" HeaderText="商品名称" />
                            <asp:BoundField DataField="GoodsTypeName" HeaderText="商品类别" />
                            <asp:BoundField DataField="GoodsPrice" HeaderText="商品价格" />
                            <asp:BoundField DataField="GoodsIsNew" HeaderText="是否推荐" />
                             <asp:BoundField DataField="addUserName" HeaderText="出售卖家" />
                            
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
                                <ControlStyle Font-Underline="False" ForeColor="Black" />
                            </asp:CommandField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
</asp:Content>

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

AI 解读 AI

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

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