GoodsManger.aspx
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="GoodsManger.aspx.cs" Inherits="GoodsManger" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" style="width: 99%">
<tr>
<td style="height: 24px" width="19">
<img alt="" height="24" src="images/aa-2_16.gif" width="19" /></td>
<td bgcolor="#d8d8d8" class="red" style="height: 24px">
管理商品信息</td>
<td style="width: 7px; height: 24px">
<img alt="" height="24" src="images/index_23.gif" width="7" /></td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" height="339" style="font-size: 12pt;
background-image: url(../Image/例图/后台/后台页.jpg); width: 737px">
<tr>
<td colspan="3" style="text-align: right">
<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" Height="20px" OnClick="btnSel_Click" Text="查询"
Width="58px" />
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align: top; height: 181px; text-align: center">
<asp:GridView ID="gvGoodsInfo" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" Font-Size="12pt" ForeColor="#333333" GridLines="None" Height="83px"
OnPageIndexChanging="gvGoodsInfo_PageIndexChanging" OnRowDataBound="gvGoodsInfo_RowDataBound"
OnRowDeleting="gvGoodsInfo_RowDeleting" PageSize="8" Width="100%">
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<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:HyperLinkField DataNavigateUrlFields="GoodsID" DataNavigateUrlFormatString="EditGoods.aspx?GoodsID={0}"
HeaderText="详细信息" Text="详细信息">
<ControlStyle Font-Underline="False" ForeColor="Black" />
</asp:HyperLinkField>
<asp:CommandField HeaderText="删除" ShowDeleteButton="True">
<ControlStyle Font-Underline="False" ForeColor="Black" />
</asp:CommandField>
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#999999" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
</td>
</tr>
后面还有 3 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。