ProductInfoManager.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:2k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="ProductInfoManager.aspx.cs" Inherits="Manage_ProductInfoManager" Title="商品信息管理" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="main" Runat="Server">
  3.     <asp:DataList ID="DataList1" runat="server" BackColor="#DEBA84" BorderColor="#DEBA84"
  4.         BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" DataSourceID="SqlDataSource1"
  5.         GridLines="Both" RepeatColumns="5">
  6.         <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
  7.         <ItemStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
  8.         <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
  9.         <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
  10.         <ItemTemplate>
  11.             商品名字:
  12.             <asp:Label ID="GoodsNameLabel" runat="server" Text='<%# Eval("GoodsName") %>'></asp:Label><br />
  13.             商品重量:
  14.             <asp:Label ID="GoodsWeightLabel" runat="server" Text='<%# Eval("GoodsWeight") %>'></asp:Label><br />
  15.             市场价格:
  16.             <asp:Label ID="MarketPriceLabel" runat="server" Text='<%# Eval("MarketPrice") %>'></asp:Label><br />
  17.             会员价格:
  18.             <asp:Label ID="MemberPriceLabel" runat="server" Text='<%# Eval("MemberPrice") %>'></asp:Label><br />
  19.             <asp:Button ID="modifybtn" runat="server" CommandArgument='<%# Eval("GoodsID") %>'
  20.                 OnCommand="modifybtn_Command" Text="修改信息" />
  21.         </ItemTemplate>
  22.     </asp:DataList>
  23.     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TZroomConnectionString %>"
  24.         SelectCommand="SELECT [GoodsID], [GoodsName], [GoodsWeight], [MarketPrice], [MemberPrice] FROM [tb_GoodsInfo]">
  25.     </asp:SqlDataSource>
  26. </asp:Content>