showimage.asp
Change the HTTP header
Response.ContentType = "image/gif"
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open "driver={SQL Server};server=.;UID=sa;PWD=;DATABASE=pubs"
Set rs = cn.Execute("select logo from pub_info WHERE pub_id='0736'")
Response.BinaryWrite rs("logo")
Response.End
showimage.htm
<html>
<head><title>闪亮日子之人事档案管理系统图片显示/title></head>
<body>
<ing src="/UploadFiles/2021-04-02/ showimage.asp ">
</body></html>
[1]
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“如何把图片也存到数据库中去?”评论...