⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customproducts2.ascx

📁 网奇.NET网络商城ACCESS单店商业版特点: 1、可生成静态页面
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CustomProducts.ascx.cs" Inherits="wqeshop.Modules.CustomProducts" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%BindCustomProductList(1,6,"dlCustomProductts","New");%>


      <asp:DataList id="dlCustomProductts" CellPadding="3" CellSpacing="0" GridLines="None" RepeatColumns="3" RepeatDirection="Horizontal" RepeatLayout="Table" Visible="false" Width="100%" runat="server">
        <ItemStyle CssClass="alignCenterTop" />
        <ItemTemplate>
          <table cellpadding="0" cellspacing="0" border="0" Class="brod2">
            <tr>
              <td align="left" width="65"><a href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Show.aspx?PID=<%# DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products/Product_<%# DataBinder.Eval(Container.DataItem,"ProductID") %>.<%=config.html%><%}%>'><img src='upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>' border=0 width="60"></a></td>
              <td align="left"><span class="thumbnailTitle"><a href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Show.aspx?PID=<%# DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products/Product_<%# DataBinder.Eval(Container.DataItem,"ProductID") %>.<%=config.html%><%}%>'><%#DataBinder.Eval(Container.DataItem,"Name")%></a></span>
                <% if(wqeshop.WebUtils.MemberShowPrice()) {%>
                <div> <%=GetResourceString("MarketPrice")%>:<%#DataBinder.Eval(Container.DataItem,"MarketPrice","{0:c}")%><br />
                  <%=GetResourceString("MemberPrice")%>:<%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:c}")%><br />
                </div>
                <% }%>
                <% if(config.MarkUnit == 1) {%>
                <% }%>
                <div class="product">
                  <div class="dd1"><a href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Show.aspx?PID=<%# DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products/Product_<%# DataBinder.Eval(Container.DataItem,"ProductID") %>.<%=config.html%><%}%>'><%=GetResourceString("Details")%></a></div>
                  <div class="dd2"><a href="#" onclick='addtocart(<%#DataBinder.Eval(Container.DataItem,"ProductID")%>)'><%=GetResourceString("Buy")%></a></div>
                  <div class="dd3" style="display:none;"><a href='Actions.aspx?action=Favorite&ProductID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReturnUrl=<%=Request.Url%>'><%=GetResourceString("AddToFavourite")%></a></div>
                </div></td>
            </tr>
          </table>
        </ItemTemplate>
      </asp:DataList>

⌨️ 快捷键说明

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