这是我的代码
<!--#Include FIle="Inc/conndb.asp"-->
<%
Dim RS3,sql3,content3,ProductID,UploadFiles
SET RS3=SErver.CreateObject("ADODB.RECORDSET")
sql3="Select * From Product Order BY ProductID DESC "
RS3.Open sql3,conn,1,3
ProductID=RS3.Fields("ProductID")
DefaultPicUrl=RS3.Fields("DefaultPicUrl")
DO While NOT RS3.Eof
%>
<a href="show.asp?ProductID=<%=ProductID%>"><img src=<%=DefaultPicUrl%> border="0" width="103" height="84"></a>
<%
RS3.MoveNext
Loop%>
<%
RS3.close
%>