ProcductPic.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="ProcductPic.aspx.cs" Inherits="Manage_ProcductPic" Title="商品图片管理" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="main" Runat="Server">
- <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" RepeatColumns="3" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" GridLines="Both">
- <ItemTemplate>
- <table style="width: 231px">
- <tr>
- <td style="width: 231px">
- 商品名字:<asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("GoodsID") %>'
- Text='<%# Eval("GoodsName") %>' OnCommand="LinkButton1_Command" ToolTip="单击修改图片信息"></asp:LinkButton></td>
- </tr>
- <tr>
- <td style="width: 100px">
- 链接图片:<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='<%# "../Image/"+Eval("GoodsLnkLogo") %>' CommandArgument='<%# Eval("GoodsID") %>' OnCommand="ImageButton1_Command" /></td>
- </tr>
- <tr>
- <td style="width: 100px">
- 商品图片:<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl='<%# "../Image/"+Eval("GoodsBrand") %>' CommandArgument='<%# Eval("GoodsID") %>' OnCommand="ImageButton2_Command" /></td>
- </tr>
- <tr>
- <td style="width: 100px">
- 商品大图:<asp:ImageButton ID="ImageButton3" runat="server" ImageUrl='<%# "../Image/"+Eval("GoodsPic") %>' CommandArgument='<%# Eval("GoodsID") %>' OnCommand="ImageButton3_Command" /></td>
- </tr>
- </table>
- </ItemTemplate>
- <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" />
- </asp:DataList>
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TZroomConnectionString %>"
- SelectCommand="SELECT [GoodsID], [GoodsPic], [GoodsBrand], [GoodsLnkLogo], [GoodsName] FROM [tb_GoodsInfo]">
- </asp:SqlDataSource>
- 链接图片<input id="myFile" runat="server" style="width: 296px" type="file" />
- <asp:Button ID="linkLogoup" runat="server" Text="上传" OnClick="linkLogoup_Click" /><br />
- 商品图片<input id="myFile1" runat="server" style="width: 296px" type="file" />
- <asp:Button ID="Brandupbtn" runat="server" Text="上传" OnClick="Brandupbtn_Click" /><br />
- 商品大图<input id="myFile2" runat="server" style="width: 296px" type="file" />
- <asp:Button ID="picupbtn" runat="server" Text="上传" OnClick="picupbtn_Click" />
- </asp:Content>