关于access数据库中jpeg图片显示问题
meyew 2004-08-30 10:29:57 在做一个试题库系统,现要把存储的试题(jpeg图片)循环显示,参考网上,主要语句如下:
<% i=1
Response.Expires=0
Response.buffer=True
Response.clear
rs.movefirst
response.ContentType="image/*"
response.BinaryWrite rs("question1").GetChunk(7500000)
do while not(rs.eof) %>
<table width="100%" border="0">
<tr>
<td valign="top">
<table width="99%" border="0">
<tr>
<%if rs("question")<>"" then%>
<input type="checkbox" name="idbox" value="<%=rs("id1")%>">
<td height="66" ><%=i%>、<%=rs("question")%>
</td>
</tr>
<%
i=i+1
end if%>
但老是会弹出保存文件对话框,不知为何?如何正确显示?