<%
i = 0
str_sql = "select top 7 * from news where nclass = '公司新闻' order by ntime desc, id desc"
rs.open str_sql,conn,1
if not rs.eof then
do while not rs.eof
%>
热烈庆祝无锡金海量仪厂网站升级成功!
<%
i = i + 1
if i = 7 then exit do
rs.movenext
loop
end if
rs.close
%>