使用c#以ms访问存储和检索图像 [英] storing and retrieving images in ms access using c#

查看:103
本文介绍了使用c#以ms访问存储和检索图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,我想在c#中处理图像。所以,我的问题是,我可以使用c#中的Windows应用程序表格存储和检索来自访问数据库的图像...?

如果是,请给我示例代码....

thanx ...

解决方案

大约有10秒的googleing我发现了这个。



如何存储和查看图像到/从MS访问,C#



将来的建议,首先尝试谷歌搜索,我们不是来做你的工作,但是当你遇到困难时提供建议。


你可以这样做,但我不建议你将图片存储在MS数据库中,因为MS Access 数据库限制 [ ^ ]。了解有关将图像存储在数据库中的更多信息[ ^ ]。



以下是VB和ADO中的示例: http://msdn.microsoft.com/en-us/library/aa260858%28v=vs.60%29.aspx [ ^ ]



一些有用的信息,你会在这里找到:

http://support.microsoft.com/?scid=kb;en-us;194975&x=15&y=14 [ ^ ]

http://support.microsoft.com/kb/103257/en-us [ ^ ]

http://support.microsoft.com/?kbid=123151 [ ^ ]

http://accdevel.tripod。 com / imaging.htm [ ^ ]

hey guys, i want to do work on images in c#. so, my question is this, can i store and retrive images from access database using windows application form in c#...?
if yes , give me sample code for it....
thanx...

解决方案

With about 10seconds of googleing I found this.

How to store and view images to/From MS access ,C#

Advice in future, try googling first, we are not here to do your work but provide advice when you get stuck.


You can do it, but i do not recommend you to store pictures in MS database, because of MS Access database limitations[^]. Read more about Storing images in database[^].

Here is an example in VB and ADO: http://msdn.microsoft.com/en-us/library/aa260858%28v=vs.60%29.aspx[^]

Some useful information, you''ll find here:
http://support.microsoft.com/?scid=kb;en-us;194975&x=15&y=14[^]
http://support.microsoft.com/kb/103257/en-us[^]
http://support.microsoft.com/?kbid=123151[^]
http://accdevel.tripod.com/imaging.htm[^]


这篇关于使用c#以ms访问存储和检索图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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