PopularProduct.ascx
资源名称:SHOPASP.rar [点击查看]
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:1k
源码类别:
百货/超市行业
开发平台:
ASP/ASPX
- <%@ Control Language="c#" AutoEventWireup="false" Codebehind="PopularProduct.ascx.cs" Inherits="eshop.UserControl.PopularProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
- <table width="95%" cellpadding="0" cellspacing="0" border="0">
- <asp:Repeater ID="PopularList" runat="server">
- <HeaderTemplate>
- <tr>
- <td class="MostPopularHead">热门商品
- </td>
- </tr>
- </HeaderTemplate>
- <ItemTemplate>
- <tr>
- <td bgcolor="#d3d3d3">
- <asp:HyperLink class="MostPopularItemText" NavigateUrl='<%# "../ProductInfo.aspx?ProductId=" + DataBinder.Eval(Container.DataItem, "ProductID")%>' Text='<%#DataBinder.Eval(Container.DataItem, "ProductName")%>' runat="server" ID="Hyperlink1"/>
- <br>
- </td>
- </tr>
- </ItemTemplate>
- </asp:Repeater>
- </table>