C2C.Web/ascx/hotGoodsMenu.ascx

(完整代码) 897B

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="hotGoodsMenu.ascx.cs" Inherits="C2C.Web.ascx.hotGoodsMenu" %>
<div class="title_box">
    商品分类</div>
<ul class="left_menu">
<% System.Data.DataTable dt = new C2C.BLL.pubCategory().GetList(" pid=0").Tables[0]; %>
<% if (dt != null)
   {
       for (int i = 0; i < dt.Rows.Count; i++)
       {
           Response.Write(" <li class=\"");
           if (i % 2 == 0)
           {
               Response.Write("odd\"");
           }
           else
           {
               Response.Write("even\"");
           }
           Response.Write("><a href=\"/goods/hotGoodsList.aspx?category=");
           Response.Write(dt.Rows[i]["id"].ToString());
           Response.Write("\">");
           Response.Write(dt.Rows[i]["name"].ToString());
           Response.Write("</a></li>");
       }
   } %>

</ul>

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

AI 解读

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

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