如何通过VB.net将数据库SQL Server中的图像加载到PictureBox中 [英] How to load image from Database SQL server into PictureBox by VB.net

查看:107
本文介绍了如何通过VB.net将数据库SQL Server中的图像加载到PictureBox中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的:代码项目

现在,我将数据库Sql Server中的图像加载到Picture Box中遇到问题
当在DataGridView上单击行时

示例:DataGridView(DGview)

使用DGview
txtid.text = .cells(0).value
txtname.text = .cells(1).value
PictureBox.image =?(想知道此代码)
结尾为

请!帮帮我
谢谢!

Dear : The code Project

Now,I''m have a problem with loading image from Database Sql server into Picture Box
when Click row at DataGridView

Example: DataGridView(DGview)

With DGview
txtid.text = .cells(0).value
txtname.text = .cells(1).value
PictureBox.image = ? (want to know This code)
End with

Please! help me
Thanks you!

推荐答案

您好,

我想这就是您要寻找的东西:
使用Microsoft .NET从SQL Server存储和检索图像 [ ^ ]

请参阅标题为检索图像"的部分.

希望这会有所帮助,
Ed
Hi there,

I think this is what you''re looking for:
Storing and Retrieving Images from SQL Server using Microsoft .NET[^]

See the section titled "Retrieving Image".

Hope this helps,
Ed


这篇关于如何通过VB.net将数据库SQL Server中的图像加载到PictureBox中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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