asp数据库栏目以及内容如何从指定id开始调用

2025-03-22 20:49:33
推荐回答(1个)
回答1:

Set rs = ado_query("select top 8 * from cms_info where i_enable = 1 and i_parent in ("&get_channel(2,"c_sub")&") order by i_order desc , id desc")
dim i
i=1
Do While Not rs.EOF
if i<=4 then
else
...... 调用显示内容,略
end if
rs.movenext
i=i+1
loop