<%
'略去连接数据库代码
'假设要十行
response.write "<table>"
for i=1 to 10
if rs.eof or rs.bof then
exit for
end if
response.write "<tr>"
for j=1 to 3
if rs.eof or rs.bof then
exit for
end if
response.write "<td><table>"
response.write "<tr><td>"&rs("a")&"</td></tr>"
response.write "<tr><td>"&rs("b")&"</td></tr>"
response.write "<tr><td>"&rs("c")&"</td></tr>"
response.write "</table></td>"
rs.movenext
next
response.write "</tr>"
next
response.write "</table>"
'略去关闭数据库代码
%>