<table>
<%
for
n=1 to rs.recordcount
if
n mod 3=1 then
response.write "<tr>"
end if
%>
<td><%=rs("字段名")%></td>
<%
if
n mod 3=0 then
response.write "</tr>"
end if
rs.movenext
next
if n mod 3=1 then
response.write "<td></td><td></td></tr>"
elseif n mod 3=2 then
response.write "<td></td></tr>"
end if
%></table>
[[italic] 本帖最后由 tang688 于 2007-12-6 08:33 编辑 [/italic]]