在图像框中插入图像 [英] image insertion in an image box

查看:96
本文介绍了在图像框中插入图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过从某个位置浏览JPEG图像将其插入图像框。我有两个按钮(浏览,插入)。图像在访问数据库中保存为blob。

How to insert a JPEG image into an image box by browsing it from a location. I have two buttons (Browse, Insert). The images are kept as blob in access database.

推荐答案

要将图片加载到图像控件中 - 我们可以使用LoadPicture函数。

To读取存储在数据库中的图像,然后在图像控件中显示 - 我们将不得不使用ADODB.stream读取器
To load a picture into image control - we can use LoadPicture function.
To read images stored in database and then display in image control - we will have to use ADODB.stream readers


看看 - 如何使用Visual Basic .NET从Windows窗体PictureBox中的数据库显示图像 [ ^ ]。


这篇关于在图像框中插入图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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