检索图像控件上显示的图像 [英] Retrive Image shown on an image control

查看:85
本文介绍了检索图像控件上显示的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在当前的Web应用程序中,我正在使用通用处理程序从SQL 2005 db中检索图像并将其显示在图像控件(asp.net 3.5,vb)上.在稍后的阶段,我想检索图像控件上显示的相同图像并将其存储在另一个sql2005数据库中.在两者之间,用户可能还会更改图像.我想检索图像控件上显示的任何图像.
我该如何实现?

In my current web application, I am using a generic handler to retrieve an image from SQL 2005 db and display it on an image control (asp.net 3.5, vb). At a later stage, I want to retrieve the same image shown on the image control and store it in another sql2005 db. In between the user might also change image. I want to retrieve whatever image is shown on the image control.
How can I achieve this?

推荐答案

这些文章应该可以帮助您:
ASP.NET中的图像处理 [直接在数据库中存储二进制文件 [
These article should get you going:
Image Handling In ASP.NET[^]
Storing Binary Files Directly in the Database[^]

At any given time, either you have the image url or the image binary. Use either to process and store.


这篇关于检索图像控件上显示的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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