紧急如何获取存储在sqlserver中的图像数据到imagecontrol? [英] how to fetch image data stored in sqlserver to imagecontrol in asp.net?urgent

查看:80
本文介绍了紧急如何获取存储在sqlserver中的图像数据到imagecontrol?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


以这种格式存储在sqlserver中的图像数据,格式为0x4400650073006500720074002E006A0070006700,我必须将其以imageformat格式检索到前端的imagecontrol ... plz帮助我..紧急


image data stored in sqlserver in this format-0x4400650073006500720074002E006A0070006700,i have to retrive this in imageformat to imagecontrol in frontend...plz help me..urgent

推荐答案

您不能做您的工作对我们来说并不紧迫.别这么说.

您需要编写一个HTTP处理程序,该处理程序获取您的DB数据行的ID,然后以正确的MIME类型返回该数据以用作图像.图像控件将指向具有正确ID的处理程序的URL.

IT部门一定很难不访问Google,因此我为您使用了它,并发现
It''s not urgent for us that you can''t do your job. Don''t say that.

You need to write a HTTP Handler that takes the id of your DB data row and then returns that data with the right MIME type to be used as an image. The image control would point to the URL of the handler, with the right id.

IT must be hard not having access to google, so I used it for you and found this[^].


这篇关于紧急如何获取存储在sqlserver中的图像数据到imagecontrol?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆