日期:2014-05-17 浏览次数:20454 次
<div class="pro_list"> <ul id="help_list"> <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <li> <h3 class="ta2 <%# flag(Eval("selfcode").ToString(),2)%>"> <a href='productslist.aspx?id=<%# Eval("selfcode") %>' title='<%# Eval("thename") %>'> <%# areahelper.substr(Eval("thename").ToString(),30) %></a></h3> <ul style="display:none"> <asp:Repeater ID="repeater2" runat="server" DataSource='<%# twotype(Eval("selfcode").ToString())%>'> <ItemTemplate> <li><a href='productslist.aspx?id=<%# Eval("selfcode") %>' title='<%# Eval("thename") %>'> <%# areahelper.substr(Eval("thename").ToString(),30) %></a></li> <div style="clear:both;"></div> </ItemTemplate> </asp:Repeater> </ul> </li> <div style="clear:both;"></div> </ItemTemplate> </asp:Repeater> </ul> </div>