房贷最大年龄限制:各位大侠救救命ASP分类的问题

来源:百度文库 编辑:高考问答 时间:2024/04/20 19:37:21
作了个新闻系统有3个分类
在新闻显示页面想将这三个分类从上往下依次显示出来
不知道怎么弄还望大侠帮助
<!--#include file="conn.asp"-->
<% set rs= Server.CreateObject("adodb.recordset")
sql="select * from erennew order by id desc"
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新闻显示页面</title>
<style type="text/css">
<!--
table {
font-size: 9pt;
text-decoration: none;
border: 1px solid #000000;
}
-->
</style>
<style type="text/css">
<!--
a {
font-size: 9pt;
color: #000000;
text-decoration: none;
}
-->
</style>
</head>
<body>
<table width="598" border="0" align="center" cellpadding="5" cellspacing="0">
<tr align="center" bgcolor="#006699">
<td><font color="#FFFFFF">新 闻 显 示 页 面</font></td>
</tr>
<tr align="center" bgcolor="#006699">
<td><div align="left"><font color="#FFFFFF">热门</font></div></td>
</tr>
<%do while not rs.eof and rs("type")="热门"%>
<tr>

<td height="28" align="left"> <img src="images/page.gif" width="12" height="14"> <a href=look.asp?id=<%=rs("id")%> target="_blank"><%=rs("title")%></a> (<font color="#006699"><%=rs("time")%>发表</font>) <font color="#006699"> 浏览过<%=rs("xhcount")%>次</font></td>
</tr>
<%
rs.movenext
loop
%>
</tr>
<tr align="center" bgcolor="#006699">
<td><div align="left"><font color="#FFFFFF">世界</font></div></td>
</tr>
</table>
<div align="center"><br>
<a href="admin/login.asp">管理入口</a><br>
<br>
</div>
</body>
</html>

给你推荐一个ASP技术群
16669796