28,391
社区成员
发帖
与我相关
我的任务
分享
<table border="0" cellspacing="5" cellpadding="0" width="400" height="120" id="mainTable">
<%rs.open "select * from ns2 where sjid=108 order by id asc",conn,1
if not rs.eof and not rs.bof then
a=0
while not rs.eof
if a=0 then
%>
<tbody style="display:block;" >
<%
else
%>
<tbody style="display:none;">
<% end if %>
<tr>
<td height="120">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%
rst.open "select * from nm where ns2="&rs("id")&" order by id asc",conn,1
if not rst.eof and not rst.bof then
while not rst.eof
%>
<tr>
<td height="72">
</td>
</tr>
<%
rst.movenext
wend
end if
rst.close%>
</table>
</td>
</tr>
</tbody>
<%
a=a+1
rs.movenext
wend
end if
rs.close%>
</table>