发布网友
共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
%>