GoodsList5.aspx
资源名称:WebSite1.rar [点击查看]
上传用户:vtryaojia
上传日期:2020-04-18
资源大小:1214k
文件大小:2k
源码类别:
SCSI/ASPI
开发平台:
Others
- <%@ Page Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="GoodsList5.aspx.cs" Inherits="GoodsList5" Title="Untitled Page" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="AccessDataSource1" AllowPaging="True" PageSize="4" Width="476px">
- <Columns>
- <asp:TemplateField><ItemTemplate>
- <table cellspacing ="2" cellpadding ="1">
- <tr>
- <td>
- <img src="<%#Eval("GoodsUrl") %>" onerror="this.src=this.src.replace('~/','')" border="0" width="200" height ="175" /></td>
- <td>
- 商品名称:
- <asp:Label ID="GoodsNameLabel" runat="server" Text='<%# Eval("GoodsName") %>'></asp:Label><br />
- 品牌:
- <asp:Label ID="GoodsBrandLabel" runat="server" Text='<%# Eval("GoodsBrand") %>'></asp:Label><br />
- 价格:
- <asp:Label ID="MarketPriceLabel" runat="server" Text='<%# Eval("MarketPrice") %>'></asp:Label><br />
- 数量:
- <asp:Label ID="GoodsUnitLabel" runat="server" Text='<%# Eval("GoodsUnit") %>'></asp:Label><br />
- 核心数量:
- <asp:Label ID="CorenumberLabel" runat="server" Text='<%# Eval("Corenumber") %>'></asp:Label><br />
- 主频:
- <asp:Label ID="MasterLabel" runat="server" Text='<%# Eval("Master") %>'></asp:Label><br />
- 总线频率:
- <asp:Label ID="FrequencyLabel" runat="server" Text='<%# Eval("Frequency") %>'></asp:Label><br />
- L1缓存:
- <asp:Label ID="L1cacheLabel" runat="server" Text='<%# Eval("L1cache") %>'></asp:Label><br />
- <a href="CPU.aspx?GoodsID=<%# Eval("GoodsID")%>"target="_blank">详细信息</a>
- </td>
- </tr>
- </table>
- </ItemTemplate></asp:TemplateField>
- </Columns>
- </asp:GridView>
- <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/zzu.mdb"
- SelectCommand="SELECT [GoodsUrl], [GoodsBrand],[GoodsName], [MarketPrice], [GoodsUnit], [Kernel],[Corenumber],[Master],[Frequency],[Slot],[Pin],[L1cache],[L2cache],[GoodsID], [ClassID] FROM [CPU]">
- </asp:AccessDataSource>
- </asp:Content>