中国的千万富翁有多少:asp高手!我十万火急!帮帮!我----产品不显示大图!只显示一个!错误为ADODB:Field"8002009" ?????

来源:百度文库 编辑:高校问答 时间:2024/04/29 14:02:04
<%
strsql="select * from pro_list"
if pro_type<>0 then
strsql=strsql&" where pro_type="&pro_type
end if
set rs = Server.CreateObject("ADODB.Recordset")
rs.Open strsql, conn, 1, 1

if not rs.eof then
page=9
rs.pagesize=page
maxpage=rs.pagecount
if pageno < 1 then
pageno =1
end if
if pageno+1 >maxpage+1 then
pageno=maxpage
end if
rs.absolutePage=pageno
else
maxpage=1
end if
total = rs.RecordCount
%></TD>
</TR>
<TR>
<TD vAlign=top background=images/bj2.gif colSpan=2
height=274><table width="538" height="220" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center">
<table width="100%" height="37" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="left"><img src="image/pro/pro_img.gif" width="200" height="40"></div></td>
</tr>
</table>
</div>
<div align="center">
<table width="96%" height="173" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="112" bgcolor="#FFFFFF"><div align="center"><img src="<%= rs("pro_img") %>"></div></td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF"><div align="center"></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table width="94%" height="207" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" height="37" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="left"><img src="image/pro/pro_view.gif" width="200" height="40"></div></td>
</tr>
</table>
<table width="94%" height="164" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="19%" height="48"><div align="right"><font color="#006699"><strong>产品名称:</strong></font></div></td>
<td width="81%" height="48"><%= rs("pro_name") %></td>
</tr>
<tr>
<td colspan="2"><div align="right">
<fieldset>
<legend><font color="#006699">产品说明</font></legend>
<table width="97%" height="59" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"> <span class="font">

把你要改打图片的width和height值夸大,那是宽和高