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

📄 productpromotioncontrol.ascx

📁 C#语言制作asp.net网上商店的
💻 ASCX
字号:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ProductPromotionControl.ascx.vb" Inherits="Shop_Product_ProductPromotionControl" %>



<div class="title">
    <asp:Label ID="lbMorePromotion" runat="server" Text=" 更多促销活动"></asp:Label> </div>
    <div class ="hr"></div>
    <div class ="datalist">
    
        <asp:DataList ID="dlProductPromotion" runat="server">
            <ItemTemplate>
                <asp:Label ID="lbPromotionTitle" runat="server" Text="Label"></asp:Label>
                <div class ="blankbox"></div>
                <asp:DataList ID="dlProduct" runat="server" RepeatColumns="3" 
                DataKeyField="ProductID">
                <ItemTemplate>
                    <table width="200"  border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td  valign="middle"  align="center" style="width: 200px">
                                <asp:HyperLink ID="linkProductImage" runat="server" ToolTip='<%#String.Format("{0}", Eval("ProductName")) %>'
                                    NavigateUrl='<%# String.Format("~/ProductDetail.aspx?pID={0}",Eval("ProductID")) %>'
                                    ImageUrl='<%# String.Format("~/IHttpHandler/ImageHandler.ashx?Imagepath=~/{0}&Size={1}",Eval("ImagePath"),"120,120") %>'></asp:HyperLink>
                            </td>
                        </tr>
                        <tr>
                            <td  valign="top" style="width: 200px; height: 59px" >
                       <div >  <asp:HyperLink ID="linkProductName" runat="server" NavigateUrl='<%# String.Format("~/ProductDetail.aspx?pID={0}",Eval("ProductID")) %>'
                                                Text='<%# Eval("ProductName") %>' Font-Bold="False" ></asp:HyperLink></div>
                   
<div id="nsfPrice">
            <asp:Label ID="lbPriceCaption" runat="server" Text =" 会员价:"></asp:Label>
            <span class="price">
                 <asp:Label ID="lbPrice" runat="server" Text='<%# String.Format(" {0:C}", Eval("Price")) %>'                                 ></asp:Label></span></div>
                              
                              </td>
                        </tr>
                      
                    </table>
        
                </ItemTemplate>
            </asp:DataList>
            </ItemTemplate>
  
        </asp:DataList>
    
    </div>

⌨️ 快捷键说明

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