<% set rs=server.createobject("adodb.recordset") sql ="select top 10 * from Ent_Info where class_Id='19' and is_Auditing=1 order by id desc " rs.open sql,conn,1,1 if rs.eof or rs.bof then Response.Write "没有相关信息" & vbNewLine else do while not rs.eof %> >> " target="_blank"><%=left(rs("title_name"),11)%>
<% rs.movenext loop rs.close set rs=nothing end if %>