序号的问题。
同城同梦 2015-07-09 03:49:21 <%
sqltb="select top 50 * from customer where xz='TB' and zy=0 order by sf"
set rstb=server.CreateObject("adodb.recordset")
rstb.open sqltb,conn,1,1
sqltc="select top 50 * from customer where xz='TC' and zy=0 order by sf"
set rstc=server.CreateObject("adodb.recordset")
rstc.open sqltc,conn,1,1
%>
<%for tb=0 to 5%>
序号:<%=tb+1%>
标题:<%= rstb("nameq") %>
<%
rstb.movenext
next
%>
tb的读完了,下面读tc的
<%for tc=0 to 5%>
序号:<%????%>'想接着tb的序号编号,怎么写呢????
标题:<%= rstb("nameq") %>
<%
rstc.movenext
next
%>