ASP读取问题

来源:百度知道 编辑:UC知道 时间:2024/05/23 20:20:02
我想让读出来的数据
横3竖3 怎么写
111 111 111
111 111 111
111 111 111
读出来的数据 这样排列

<%
sql="select top 9 * from gg order by id desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<%
a=1
do while not rs.eof
%>

<%
if a mod 3=0 then
response.write"<tr></tr>"
end if
rs.movenext
a=a+1
loop
%>