ASP图片调用数量,
<%sql1="selecttop14*fromtypewhereparentid>0orderbytypeiddesc"setrs1=conn.execute(sql1...
<%
sql1="select top 14 * from type where parentid>0 order by typeid desc"
set rs1=conn.execute(sql1)
maxperpage = 14
rs1.pagesize = maxperpage
while not rs1.eof
sql="select top 1 * from qq where yesno=True and typeid="&rs1("typeid")&" order by id desc"
set rs=conn.execute(sql)
while not rs.eof
%>
<%
rs.movenext
wend
rs.close
rs1.movenext
wend
rs1.close
%> 展开
sql1="select top 14 * from type where parentid>0 order by typeid desc"
set rs1=conn.execute(sql1)
maxperpage = 14
rs1.pagesize = maxperpage
while not rs1.eof
sql="select top 1 * from qq where yesno=True and typeid="&rs1("typeid")&" order by id desc"
set rs=conn.execute(sql)
while not rs.eof
%>
<%
rs.movenext
wend
rs.close
rs1.movenext
wend
rs1.close
%> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询