📄 topsaleproduct.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="TopSaleProduct.ascx.cs" Inherits="wqshop.Modules.TopSaleProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="lframe">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="tl"></td>
<td class="tm2">
<span class="tt"><%=GetResourceString("TopLevelNav")%></span>
</td>
<td class="tr"></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="ml"></td>
<td class="mm">
<%BindTopSaleProductList(10);%>
<asp:DataList id="dlTopSaleProductts" CellPadding="2" CellSpacing="0" GridLines="None" RepeatColumns="1"
RepeatDirection="Horizontal" RepeatLayout="Table" Width="100%" runat="server">
<ItemStyle CssClass="alignCenterTop" />
<ItemTemplate>
<img src="Images/bullet.gif" /><%#DataBinder.Eval(Container.DataItem,"TopIndex")%> <a href='<%if(config.html==""){%>Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%><%}%>'><%#DataBinder.Eval(Container.DataItem,"Name").ToString().TrimEnd().Length > 14 ? DataBinder.Eval(Container.DataItem,"Name").ToString().TrimEnd().Substring(0,14)+"":DataBinder.Eval(Container.DataItem,"Name")%></a>
</ItemTemplate>
</asp:DataList>
</td>
<td class="mr"></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" >
<tr>
<td class="bl"></td>
<td class="bm"> </td>
<td class="br"></td>
</tr>
</table>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -