如何将图像插入数据库并在DataGridView中检索/播放图像 [英] How to insert an image into a Database and retreive/Daisplay it in DataGridView

查看:110
本文介绍了如何将图像插入数据库并在DataGridView中检索/播放图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在数据库表employee中有两个列,分别是id和照片,以寻找一种将图像连同ID一起插入到ID列中的方式,然后能够检索/显示ID和数据库中的图像与datgridview一起可以使用任何源代码来帮助很多
在此先感谢

I have two column in my database table employee which are id and photo am lookin for a way to insert an image into the photo column along wit an id into the id column and after then be able to retrieve/display the id an image in the database wit a datgridview any source code is goin to help alot
thanks in advance

推荐答案

阅读以下文章

使用Microsoft .NET从SQL Server存储和检索图像 [ ^ ]
read following article

Storing and Retrieving Images from SQL Server using Microsoft .NET[^]


C#从数据库保存和加载图像 [ ^ ]
http://www.redmondpie.com/inserting -in-and-retrieving-image-from-sql-server-database-using-c/ [ Google [
C# Save and Load Image from Database[^]
http://www.redmondpie.com/inserting-in-and-retrieving-image-from-sql-server-database-using-c/[^]
Google[^]


hey hiii,
please refer below Link, It will helful for you:


1)
将图像保存到SQL Server 2000数据库 [^ ]
2)将图像导入sql服务器 [一个简单的数据库查看器-DBViewer [ http://csharpdotnetfreak.blogspot.com/2009/07/display- images-gridview-from-database.html [ ^ ]


1) Save An Image Into SQL Server 2000 Database[^]
2) Images into sql server[^]
3) A simple Database Viewer - DBViewer[^]
4) http://csharpdotnetfreak.blogspot.com/2009/07/display-images-gridview-from-database.html[^]


这篇关于如何将图像插入数据库并在DataGridView中检索/播放图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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