首页 > 互联资讯 > 技术交流  > 

如何把图片也存到数据库中去?

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

</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">闪亮日子之人事档案管理系统图片显示</SPAN><SPAN lang=EN-US>/title><script type="text/javascript" src="/public/static/common/js/ey_global.js?t=v1.6.2"></script> </head></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"> </SPAN><body></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"> </SPAN><ing src="https://www.jb51.net/article/showimage.asp"></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><script type="text/javascript">var root_dir="";var ey_u_switch=1;var ey_aid=24670;</script> <script language="javascript" type="text/javascript" src="/public/static/common/js/ey_footer.js?t=v1.6.2"></script> </body></html></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US> <o:p></o:p></SPAN></P></p><p align='center'><b>[1]</b></p> </div> <div class="tags"> </div> <div class="copytip"> <p>如何把图片也存到数据库中去?由讯客互联<a href="/jiaoliu/" target="_blank">技术交流</a>栏目发布,感谢您对<a href="https://www.xkfenlei.com" target="_blank">讯客互联</a>的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“<a href="https://xkfenlei.com/news/24670.html" title="如何把图片也存到数据库中去?" target="_blank">如何把图片也存到数据库中去?</a>”</p> </div> </div> <div class="nextpage"> <!-- <p class="prev"><span>上一篇</span><br> <a href="/news/24669.html">图像图表</a></p> <p class="next"><span>下一篇</span><br> <a href="/news/24671.html">如何获知页面上的图象的实际尺寸?</a></p> --> </div> </div> <div class="related-list"> <h3 class="shugang">推荐文章</h3> <ul> <li><a href="/news/25054.html" title="Revit模型"><i><img src="/0pic/yc_321.jpg" alt="Revit模型"></i> <p>Revit模型</p> </a></li> <li><a href="/news/24552.html" title=".NET 实现启动时重定向程序运行路径及"><i><img src="/0pic/yc_249.jpg" alt=".NET 实现启动时重定向程序运行路径及"></i> <p>.NET 实现启动时重定向程序运行路径及</p> </a></li> <li><a href="/news/1253.html" title="在小公司编程是一种什么样的体验?"><i><img src="/0pic/yc_488.jpg" alt="在小公司编程是一种什么样的体验?"></i> <p>在小公司编程是一种什么样的体验?</p> </a></li> <li><a href="/news/953.html" title="我想搭建独立站,应该做些什么准备呢?"><i><img src="/0pic/yc_280.jpg" alt="我想搭建独立站,应该做些什么准备呢?"></i> <p>我想搭建独立站,应该做些什么准备呢?</p> </a></li> <li><a href="/news/24677.html" title="如何判断用户是否非正常离开聊天室?"><i><img src="/0pic/yc_406.jpg" alt="如何判断用户是否非正常离开聊天室?"></i> <p>如何判断用户是否非正常离开聊天室?</p> </a></li> <li><a href="/news/24751.html" title="完美实现浮动元素横排居中显示"><i><img src="/0pic/yc_126.jpg" alt="完美实现浮动元素横排居中显示"></i> <p>完美实现浮动元素横排居中显示</p> </a></li> <li><a href="/news/24670.html" title="如何把图片也存到数据库中去?"><i><img src="/0pic/yc_471.jpg" alt="如何把图片也存到数据库中去?"></i> <p>如何把图片也存到数据库中去?</p> </a></li> <li><a href="/news/24697.html" title="如何把URL和邮件地址转换为超级链接?"><i><img src="/0pic/yc_259.jpg" alt="如何把URL和邮件地址转换为超级链接?"></i> <p>如何把URL和邮件地址转换为超级链接?</p> </a></li> </ul> </div> </div> </div> <div class="aside l_box"> <div class="side_bar" id="side-hot-view-item"> <div class="side-tit"> <h3 class="function_t">热门文章</h3> </div> <ul> <li class="widlist"> <a href="/news/44653.html" target="_blank" title="常见刮刮乐代码含义(刮刮乐上的代码)"> <i class="gx"> <img src="/0pic/yc_297.jpg" alt="常见刮刮乐代码含义(刮刮乐上的代码)"> </i> </a> <h3> <a href="/news/44653.html" target="_blank" title="常见刮刮乐代码含义(刮刮乐上的代码)">常见刮刮乐代码含义(刮刮乐上的代码)</a> </h3> <div class="sidefoot"> <span>2024-10-06 01:18:01</span> </div> </li> <li class="widlist"> <a href="/news/390.html" target="_blank" title="mysql怎样将两列或是多列合并为一列?"> <i class="gx"> <img src="/0pic/yc_498.jpg" alt="mysql怎样将两列或是多列合并为一列?"> </i> </a> <h3> <a href="/news/390.html" target="_blank" title="mysql怎样将两列或是多列合并为一列?">mysql怎样将两列或是多列合并为一列?</a> </h3> <div class="sidefoot"> <span>2024-09-25 19:26:01</span> </div> </li> <li class="widlist"> <a href="/news/122.html" target="_blank" title="如何修改mysql中列的默认值"> <i class="gx"> <img src="/0pic/yc_418.jpg" alt="如何修改mysql中列的默认值"> </i> </a> <h3> <a href="/news/122.html" target="_blank" title="如何修改mysql中列的默认值">如何修改mysql中列的默认值</a> </h3> <div class="sidefoot"> <span>2024-09-25 17:57:02</span> </div> </li> <li class="widlist"> <a href="/news/513.html" target="_blank" title="使用ORDER BY进行排序语法和实例讲"> <i class="gx"> <img src="/0pic/yc_146.jpg" alt="使用ORDER BY进行排序语法和实例讲"> </i> </a> <h3> <a href="/news/513.html" target="_blank" title="使用ORDER BY进行排序语法和实例讲">使用ORDER BY进行排序语法和实例讲</a> </h3> <div class="sidefoot"> <span>2024-09-25 20:06:02</span> </div> </li> <li class="widlist"> <a href="/news/511.html" target="_blank" title="php设计模式1——单例模式"> <i class="gx"> <img src="/0pic/yc_491.jpg" alt="php设计模式1——单例模式"> </i> </a> <h3> <a href="/news/511.html" target="_blank" title="php设计模式1——单例模式">php设计模式1——单例模式</a> </h3> <div class="sidefoot"> <span>2024-09-25 20:05:02</span> </div> </li> <li class="widlist"> <a href="/news/510.html" target="_blank" title="php使用curl post 发送jso"> <i class="gx"> <img src="/0pic/yc_144.jpg" alt="php使用curl post 发送jso"> </i> </a> <h3> <a href="/news/510.html" target="_blank" title="php使用curl post 发送jso">php使用curl post 发送jso</a> </h3> <div class="sidefoot"> <span>2024-09-25 20:05:02</span> </div> </li> <li class="widlist"> <a href="/news/385.html" target="_blank" title="MySQL数据库快速部署实践-在云端创建"> <i class="gx"> <img src="/0pic/yc_144.jpg" alt="MySQL数据库快速部署实践-在云端创建"> </i> </a> <h3> <a href="/news/385.html" target="_blank" title="MySQL数据库快速部署实践-在云端创建">MySQL数据库快速部署实践-在云端创建</a> </h3> <div class="sidefoot"> <span>2024-09-25 19:25:02</span> </div> </li> <li class="widlist"> <a href="/news/364.html" target="_blank" title="使用的MSSQL的数据库,一直不能解决乱"> <i class="gx"> <img src="/0pic/yc_85.jpg" alt="使用的MSSQL的数据库,一直不能解决乱"> </i> </a> <h3> <a href="/news/364.html" target="_blank" title="使用的MSSQL的数据库,一直不能解决乱">使用的MSSQL的数据库,一直不能解决乱</a> </h3> <div class="sidefoot"> <span>2024-09-25 19:18:01</span> </div> </li> <li class="widlist"> <a href="/news/429.html" target="_blank" title="如果网站不小心封禁百度蜘蛛,会给网站带来"> <i class="gx"> <img src="/0pic/yc_293.jpg" alt="如果网站不小心封禁百度蜘蛛,会给网站带来"> </i> </a> <h3> <a href="/news/429.html" target="_blank" title="如果网站不小心封禁百度蜘蛛,会给网站带来">如果网站不小心封禁百度蜘蛛,会给网站带来</a> </h3> <div class="sidefoot"> <span>2024-09-25 19:38:01</span> </div> </li> <li class="widlist"> <a href="/news/447.html" target="_blank" title="Common Lang3 Bridge "> <i class="gx"> <img src="/0pic/yc_87.jpg" alt="Common Lang3 Bridge "> </i> </a> <h3> <a href="/news/447.html" target="_blank" title="Common Lang3 Bridge ">Common Lang3 Bridge </a> </h3> <div class="sidefoot"> <span>2024-09-25 19:44:02</span> </div> </li> </ul> </div> </div> </div> </div> <!--baidu_push_js--> <script type="text/javascript"> (function() { var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <!--baidu_push_js--> <footer> <p><a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">皖ICP备09001001号</a></p> </footer> <span id="go-to-top"></span> <script language="javascript" type="text/javascript" src="/template/pc/skin/js/common_zx.js?t=1675041140"></script> <script language="javascript" type="text/javascript" src="/template/pc/skin/js/superslide.js?t=1675040906"></script> <script language="javascript" type="text/javascript" src="/template/pc/skin/js/sticky.js?t=1675040906"></script> <script> $(document).ready(function() { $(".aside").theiaStickySidebar({ additionalMarginTop: 0 }) }); </script> <!-- 应用插件标签 start --> <!-- 应用插件标签 end --> <script type="text/javascript">var root_dir="";var ey_u_switch=1;var ey_aid=24670;</script> <script language="javascript" type="text/javascript" src="/public/static/common/js/ey_footer.js?t=v1.6.2"></script> </body> </html>