
这个语句应该怎么修改啊ASP的
</table></td><%ifrow_countmod3=0then%></tr><tr><%endif%><%rs_Product.MoveNextrow_coun...
</table></td>
<% if row_count mod 3 =0 then%>
</tr>
<tr>
<%end if%>
<%
rs_Product.MoveNext
row_count=row_count+1
Loop
end if
rs_Product.close
%>
他是不是说满了3个就另外再出一行啊
那么我想改成每满3个就多1行。一共可以4行怎么该啊 展开
<% if row_count mod 3 =0 then%>
</tr>
<tr>
<%end if%>
<%
rs_Product.MoveNext
row_count=row_count+1
Loop
end if
rs_Product.close
%>
他是不是说满了3个就另外再出一行啊
那么我想改成每满3个就多1行。一共可以4行怎么该啊 展开
2个回答
展开全部
<% if row_count mod 3 =0 then%>
改成
如果你的count从0开始
<% if row_count mod 3 =0 and row_count<12 then%>
从1开始就是
<% if row_count mod 3 =0 and row_count<13 then%>
改成
如果你的count从0开始
<% if row_count mod 3 =0 and row_count<12 then%>
从1开始就是
<% if row_count mod 3 =0 and row_count<13 then%>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询