问题详细,无显示列表,
希望能帮助我改为3行3列显示图片。
以下是代码:
<td height="15"><p>
<%
dim conn
set conn=server.CreateObject("ADODB.Connection")
conn.open "provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("service.mdb")
Set rs=conn.Execute("Select * From products order by id ASC")
%>
</p>
<p> </p>
<table width="200" border="0" cellspacing="0" cellpadding="0" >
<%
do while not rs.eof
%>
<tr>
<td><a href="particular.asp?id=<%=rs("id")%>"><img src="<%=rs("picture")%>" border="0" width="200" height="150" /></a></td>
</tr>
<tr>
<td><%=rs("title")%></td>
</tr>
<tr class="right_02">
<td><a href="particular.asp?id=<%=rs("id")%>"><%=rs("features")%></a></td>
</tr>
<tr>
<td> </td>
</tr>
<%
rs.movenext
loop
%>
</table>
</td>
此主题相关图片如下:12.jpg