新手入门,求大家指点一下
那位大侠指点一下我,想给下面这段代码控制一下行的显示,显示成17行。3Q<table width="177" height="180" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
<%
sqlprom = "select * from News where online=true and NewsClass<>'' order by uup desc,Pubdate desc"
set rsnews=Server.CreateObject("ADODB.RecordSet")
rsnews.open sqlprom,conn,1,1
if rsnews.eof and rsnews.bof then
%>
<tr>
<td valign="top" height="18"><div class="newsline3"> 暂时没有新闻公告</div></td>
</tr>
<%
else
Do while Not rsnews.eof
%>
<tr>
<td valign="top" height="18"><div class="newsline3"> ·<a href="news.asp?NewsId=<%=Cstr(rsnews("NewsId"))%>" title="<%=rsnews("NewsTitle")%>"><%=rsnews("NewsTitle")%></a></div></td>
</tr>
<%
rsnews.movenext
loop
end if
rsnews.close
set rsnews=nothing
%>
</table>