ASP一行图片不分页

来源:百度知道 编辑:UC知道 时间:2024/06/05 03:27:09
从数据表HOT里读取最新的四个数据,显示在网页里,一行四个。只有一行就可以了。哪位大侠帮忙写下啊?

set rs=conn.execute("select top 4 * from hot order by time desc")
do while not rs.eof
Response.write rs("???")
rs.movenext:loop

SQL语句类似这样写:
select top 4 * from 表名 where 条件表达式 order by 时间字段 desc