Web/Controls/ShopType.ascx

(完整代码) 2KB

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ShopType.ascx.cs" Inherits="MrZeng.Web.Controls.ShopType" %>
      <div style="width:100%; background-image: url('../Images/Typedianpu_top.jpg'); height:32px; clear:both; text-align:right;">
           <a href="../Client/MoreShopType.aspx" style="font-size:12px;">MoreShop</a>
      </div>
      <div style="width:100%; margin-top:5px;">
           <asp:DataList ID="DLShopType" Width="100%" runat="server" DataKeyField="ID" 
               RepeatColumns="1" RepeatDirection="Vertical" Font-Size="12px" 
               ForeColor="#333333" onitemcommand="DLShopType_ItemCommand">
               <ItemTemplate>
                    <div style="width:100%;">
                         <div style="width:100%; padding-top:5px; padding-bottom:5px;">
                              <div style="width:26px; float:left; display:inline;">
                                  <div style="width:26px; height:143px; background-image: url('../Images/Type_sign.jpg');">
                                       <div style="padding-top:30px; padding-left:5px; padding-right:5px; padding-bottom:30px;">
                                            <asp:LinkButton ID="LinkButton2" CommandName="more" CommandArgument='<%# Eval("ID") %>' runat="server">
                                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("ShopType") %>'>
                                                </asp:Label>
                                            </asp:LinkButton>
                                       </div>
                                  </div>
                                  <div style="width:26px; padding-top:2px;">
                                      <asp:LinkButton ID="LinkButton1" CommandName="more" CommandArgument='<%# Eval("ID") %>' runat="server">More</asp:LinkButton>
                                  </div>
                              </div>
                              <div style="width:525px; float:left; display:inline; margin-left:4px;">
                                   <asp:Label ID="Label2" runat="server" Text='<%# ShopBind(Eval("ShopType")) %>'></asp:Label>
                              </div>
                         </div>
                    </div>
               </ItemTemplate>
           </asp:DataList>
      </div>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。