📄 geng.asp
字号:
<%
'response.buffer=true
'Response.Expires=0
%>
<!--#include file="conn.asp"-->
<%
sql = "select top 5 * from product order by productid desc"
set rs=conn.execute(sql)
sql1 = "select * from Aclass where classid="&cstr(rs("classid"))
set rs1=conn.execute(sql1)
do while not rs.EOF
newproduct= newproduct & "◇[<a href='productclass.asp?classid="&rs1("classid")&"'>"&rs1("class")&"</a>]<a href='productview.asp?id="&rs("productid")&"' title="&rs("title")&" target=_top>"&rs("title")&"</a><font color='#999A67'>["&rs("dateandtime")&"]</font><br>"
rs.MoveNext
loop
rs.Close
rs1.Close
set conn = nothing
newproduct="document.write(""" & newproduct & """);"
response.write newproduct
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -