主题:紧急!高人进~~~~
以下代码只执行前一半,循环列出了名称,可是后一半不执行,内容不出现,请问问题出在哪里啊,十分感谢啊!!
<table width="95%" border="0" align="center">
<tr>
<td height="3"></td>
</tr>
</table>
<table width="95%" border="0" align="center">
<tr>
<td height="10">
<!-----------以下部分执行------------------------------->
<%
for i=1 to rs.PageSize
if rs.EOF then exit for
response.write("<table width=100% border='1' align='center' bordercolor='#C2D1DE' bgcolor='#F4F7F9'>")
response.write("<td width=90>"& "日期")
response.write("</td>")
response.write("<td width=90>"& "二级网")
response.write("</td>")
response.write("<td width=90>"& "三级网")
response.write("</td>")
response.write("<td width=90>"& "DNS服务")
response.write("</td>")
response.write("<td width=90>"& "专用电话")
response.write("</td>")
response.write("<td width=90>"& "视频会议")
response.write("</td>")
response.write("<td width=90>"& "漏洞扫描")
response.write("</td>")
response.write("<td width=90>"& "杀毒软件")
response.write("</td>")
response.write("<td width=90>"& "电子邮局")
response.write("</td>")
rs.MoveNext
next
%>
</td>
</tr>
<tr>
<td height="11">
<!-----------以下部分不执行------------------------------->
<%if rs.EOF and rs.BOF then
response.write ("暂时还没有日志")
else
for i=1 to rs.PageSize
if rs.EOF then exit for
response.write("<table width=100% border='1' align='center' bordercolor='#C2D1DE' bgcolor='#F4F7F9'>")
response.write("<td width=90>"& Year(rs("time"))&-month(rs("time"))&-day(rs("time")))
response.write("</td>")
response.write("<td width=90>"& rs("erjw"))
response.write("</td>")
response.write("<td width=90>"& rs("sanjw"))
response.write("</td>")
response.write("<td width=90>"& rs("dns"))
response.write("</td>")
response.write("<td width=90>"& rs("tel"))
response.write("</td>")
response.write("<td width=90>"& rs("sphy"))
response.write("</td>")
response.write("<td width=90>"& rs("ldsm"))
response.write("</td>")
response.write("<td width=90>"& rs("sdrj"))
response.write("</td>")
response.write("<td width=90>"& rs("dzyj"))
response.write("</td>")
response.write("</table>")
rs.MoveNext
next
end if%></td>
</tr>
</table>
<table width="95%" border="0" align="center">
<tr>
<td height="3"></td>
</tr>
</table>
<table width="95%" border="0" align="center">
<tr>
<td height="10">
<!-----------以下部分执行------------------------------->
<%
for i=1 to rs.PageSize
if rs.EOF then exit for
response.write("<table width=100% border='1' align='center' bordercolor='#C2D1DE' bgcolor='#F4F7F9'>")
response.write("<td width=90>"& "日期")
response.write("</td>")
response.write("<td width=90>"& "二级网")
response.write("</td>")
response.write("<td width=90>"& "三级网")
response.write("</td>")
response.write("<td width=90>"& "DNS服务")
response.write("</td>")
response.write("<td width=90>"& "专用电话")
response.write("</td>")
response.write("<td width=90>"& "视频会议")
response.write("</td>")
response.write("<td width=90>"& "漏洞扫描")
response.write("</td>")
response.write("<td width=90>"& "杀毒软件")
response.write("</td>")
response.write("<td width=90>"& "电子邮局")
response.write("</td>")
rs.MoveNext
next
%>
</td>
</tr>
<tr>
<td height="11">
<!-----------以下部分不执行------------------------------->
<%if rs.EOF and rs.BOF then
response.write ("暂时还没有日志")
else
for i=1 to rs.PageSize
if rs.EOF then exit for
response.write("<table width=100% border='1' align='center' bordercolor='#C2D1DE' bgcolor='#F4F7F9'>")
response.write("<td width=90>"& Year(rs("time"))&-month(rs("time"))&-day(rs("time")))
response.write("</td>")
response.write("<td width=90>"& rs("erjw"))
response.write("</td>")
response.write("<td width=90>"& rs("sanjw"))
response.write("</td>")
response.write("<td width=90>"& rs("dns"))
response.write("</td>")
response.write("<td width=90>"& rs("tel"))
response.write("</td>")
response.write("<td width=90>"& rs("sphy"))
response.write("</td>")
response.write("<td width=90>"& rs("ldsm"))
response.write("</td>")
response.write("<td width=90>"& rs("sdrj"))
response.write("</td>")
response.write("<td width=90>"& rs("dzyj"))
response.write("</td>")
response.write("</table>")
rs.MoveNext
next
end if%></td>
</tr>
</table>