调用数据库怎样换行?

来源:百度知道 编辑:UC知道 时间:2024/05/30 18:42:30
<table border="0" width="654" id="table139" cellspacing="0" cellpadding="0" class="menus">
<%
rsn.open "select top 5 classid,classname from aucclass where upid="&m_top1&" order by orderid",conn,1,1
for i=1 to 5
if rsn.eof then exit for
%>
<tr>
<td height="20" style="padding-left:20px;padding-right:20px;"><%if not rsn.eof then%><span style="height:14px;overflow:hidden;"><a href="typese.asp?classid=<%=rsn("classid")%>"><%=rsn("classname")%></a>:  </span></td>
</tr>
<tr>
<td height="20" style="padding-left:20px;padding-right:20px;"><span style="height:14px;overflow:hidden;">
<%
rsnn

<table border="0" width="654" id="table139" cellspacing="0" cellpadding="0" class="menus">
<%
rsn.open "select top 5 classid,classname from aucclass where upid="&m_top1&" order by orderid",conn,1,1
for i=1 to 5
if rsn.eof then exit for
%>
<tr>
<td height="20" style="padding-left:20px;padding-right:20px;"><%if not rsn.eof then%><span style="height:14px;overflow:hidden;"><a href="typese.asp?classid=<%=rsn("classid")%>"><%=rsn("classname")%></a>: </span></td>
</tr>
<tr>
<td height="20" style="padding-left:20px;padding-right:20px;"><span style="height:14px;overflow:hidden;">
<%
rsnn.open "select classid,classname from aucclass where upid="&r