📄 productinfomanager.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/Manage/MasterPage.master" AutoEventWireup="true" CodeFile="ProductInfoManager.aspx.cs" Inherits="Manage_ProductInfoManager" Title="商品信息管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="main" Runat="Server">
<asp:DataList ID="DataList1" runat="server" BackColor="#DEBA84" BorderColor="#DEBA84"
BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" DataSourceID="SqlDataSource1"
GridLines="Both" RepeatColumns="5">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<ItemStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
<ItemTemplate>
商品名字:
<asp:Label ID="GoodsNameLabel" runat="server" Text='<%# Eval("GoodsName") %>'></asp:Label><br />
商品重量:
<asp:Label ID="GoodsWeightLabel" runat="server" Text='<%# Eval("GoodsWeight") %>'></asp:Label><br />
市场价格:
<asp:Label ID="MarketPriceLabel" runat="server" Text='<%# Eval("MarketPrice") %>'></asp:Label><br />
会员价格:
<asp:Label ID="MemberPriceLabel" runat="server" Text='<%# Eval("MemberPrice") %>'></asp:Label><br />
<asp:Button ID="modifybtn" runat="server" CommandArgument='<%# Eval("GoodsID") %>'
OnCommand="modifybtn_Command" Text="修改信息" />
</ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TZroomConnectionString %>"
SelectCommand="SELECT [GoodsID], [GoodsName], [GoodsWeight], [MarketPrice], [MemberPrice] FROM [tb_GoodsInfo]">
</asp:SqlDataSource>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -