asp查询结果是横排的,怎么变成竖排的两列
<%Fori=0Tokemushu%><tdwidth="100"bgcolor="#FFFFFF"><divalign="center"><%=kemustrNum(i...
<%For i = 0 To kemushu%>
<td width="100" bgcolor="#FFFFFF"><div align="center"><%=kemustrNum(i)%></div></td>
<%next%>
</td>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "Select * From student where classname='"&classname&"' and xm='"&xm&"'" ,conn,1,1
do while not rs.eof
cjzong=0
%>
<tr> 展开
<td width="100" bgcolor="#FFFFFF"><div align="center"><%=kemustrNum(i)%></div></td>
<%next%>
</td>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "Select * From student where classname='"&classname&"' and xm='"&xm&"'" ,conn,1,1
do while not rs.eof
cjzong=0
%>
<tr> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询