js和asp 显示数据库中图片

作者:袖梨 2022-06-30

<%
sql="select top 4 * from Ad where checked=true "
rs.Open sql,conn,1,1
if not rs.eof then
n=0
while not rs.EOF
n=n+1
%>
<%=rs("AdSitePic")%>
<%
rs.MoveNext
wend
%>