首页 行业资讯 宠物日常 宠物养护 宠物健康 宠物故事

各位大侠救救命,ASP分行分列不出效果呀

发布网友

我来回答

3个回答

热心网友

<%
j = 1
do while not rs.EOF
%>
<TD height=25><img height=170 src="<%=rs("img")%>" width=239 border=0></TD>
<%
if j mod 3 = 0 then response.write "<tr>"
j = j + 1
rs.movenext
loop
%>

热心网友

看不懂

热心网友

<%
do while not rs.EOF
if cint(j) =< 1 then j=1

%>
<TD height=25><img height=170 src="<%=rs("img")%>" width=239 border=0></TD>

<%
rs.movenext
j=j+1
if j mod 3 = 0 then %>
</tr><tr>
<% end if
loop
%>

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com