2分类改3分类问题
原本每行显示2分类,但我想把他改成3个
但是 偶数为空就出错
<%
?? else
?? ??i=0
????while not rs_s.eof
%>
<tr>
<td height="22" align=right><div align="center">
????????<a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>"><%=rs_s("nclass")%></a>
???????? <%rs_s.movenext
if rs_s.eof then
response.write "<td align=center> </td></tr>"
else
%>
<a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>"><%=rs_s("nclass")%></a><font color="#FF6600">|</font>
???????????? <%rs_s.movenext%>
<a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>"><%=rs_s("nclass")%></a></div></td>
</tr>
<%
rs_s.movenext
end if%>
<%
????wend
?? end if
%>
<tr>
<td height=1 background="images/bj_x1.gif" ></td>
</tr>
</table>
<%
?? rs_s.close
?? set rs_s=nothing
??rs.movenext
??wend
end if
rs.close
set rs=nothing
%>