显示来自Databse的图片 [英] Displaying image from Databse

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

问题描述

在我的应用程序中,我将图像路径存储在数据库中,并希望使用该路径显示图像。

Plz帮助尽快



Thanxx提前...

In my application I am storing image path in database and want to display image using that path.
Plz Help ASAP

Thanxx in advance...

推荐答案

在您的页面中放置一个图片框并在您的代码页中添加此代码



Put one picture box in your page and add this code in your code page

pictureBox1.Image=new Bitmap(@"<image path from database>");


作为数据库的大小会变得沉重。
As size of Database will become heavy.


@ThePhantomUpvoter

兄弟我已经看过了...

我需要解决方案,我在谷歌搜索过但我不是从那里来的......
@ThePhantomUpvoter
Bro I have read it...
I need Solution, I have searched in google but I m not getting from there...


这篇关于显示来自Databse的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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