图形输出问题(大家来找碴)输出一堆乱码!

mhxz568 mhxz568 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<% dim i
i=1
set rs=server.createobject("adodb.recordset")
exec="select * from Medicine where SellCategory='1' or datediff('D',ComeDate,now())<30"
rs.open exec,conn,1,1
%>

<table cellpadding="0" cellspacing="0" border="0" width="500">
<tr><td><img src="img/commend2_1.gif"></td></tr>
<tr><% do while not rs.eof %>
<td width="125">
<table cellpadding="0" cellspacing="0" border="0" height="160">
<tr height="100" align="center"><td><%response.contenttype="image/gif"
response.binarywrite rs("MedicineImg").getchunk(7500000)%></td></tr>
<tr height="60"><td>
<table>
<tr><td>药品名称:</td><td><%=rs("MedicineName")%></td></tr>
<tr><td>药品价格:</td><td><%=rs("SellPrice")%></td></tr>
<tr><td>药品描述:</td><td><%=rs("MedicineDescription")%></td></tr>
<tr><td><input type="button" value="购买" align="right"></td></tr>
</table>
</td></tr>
</table>

</td>
<%if i mod 4 = 0 then%>
</tr>
<% end if
rs.movenext
i=i+1
loop
rs.close
set rs=nothing%>
</table>

代码如上,图形输出是一堆乱码!
一边提问一边找资料!
有谁知道错误的话请给我指出来
非常感谢!
...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部
mhxz568
ASP 28,401 成员 356,940 内容