topsaleproduct.ascx

来自「商城名称: 新普网络商城XpShop 官方网站: http://www.XpS」· ASCX 代码 · 共 45 行

ASCX
45
字号
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="TopSaleProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.TopSaleProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>


<div class='lframe'>
	<table width="95%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="tl"></td>
			<td class="tm">
				<span class=tt>销售排行</span>
			</td>
			<td class="tr"></td>
		</tr>
	</table>
	<table width="95%" cellspacing="0" cellpadding="0">
		<tr>
			<td class="ml"></td>
			<td class="mm">
				<%BindTopSaleProductList(5);%>
				<asp:DataList id="dlTopSaleProductts" CellPadding="2" CellSpacing="0" GridLines="None" RepeatColumns="1"
					RepeatDirection="Horizontal" RepeatLayout="Table" Width="100%" runat="server">
					<ItemStyle CssClass="alignCenterTop" />
					<ItemTemplate>
						<table cellpadding="2" cellspacing="0" border="0" width="20">
							<tr>
								<td>
									<%#DataBinder.Eval(Container.DataItem,"TopIndex")%> <a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>'><%#DataBinder.Eval(Container.DataItem,"Name")%></a>
								</td>
								
							</tr>
						</table>
					</ItemTemplate>
				</asp:DataList>
			</td>
			<td class="mr"></td>
		</tr>
	</table>
	<table width="95%" cellspacing="0" cellpadding="0" >
		<tr>
			<td class="bl"></td>
			<td class="bm">&nbsp;</td>
			<td class="br"></td>
		</tr>
	</table>
</div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?