|
<!--#include file="conn.asp"-->
<%
set rs9=server.CreateObject("adodb.recordset")
sql="select top 4 * from news where categoryid=135 order by newsid desc"
rs9.open sql,conn,3,3
set rs10=server.CreateObject("adodb.recordset")
sql="select top 4 * from news where categoryid=136 order by newsid desc"
rs10.open sql,conn,3,3
set rsp1=server.CreateObject("adodb.recordset")
sql="select * from category where categoryid=146 order by categoryid desc"
rsp1.open sql,conn,3,3
set rsp2=server.CreateObject("adodb.recordset")
sql="select * from category where categoryid=147 order by categoryid desc"
rsp2.open sql,conn,3,3
set rsp3=server.CreateObject("adodb.recordset")
sql="select * from category where categoryid=148 order by categoryid desc"
rsp3.open sql,conn,3,3
set rsp4=server.CreateObject("adodb.recordset")
sql="select * from category where categoryid=149 order by categoryid desc"
rsp4.open sql,conn,3,3
%>
同上,怎么写才更好,, |
|