Click here to Skip to main content
15,742,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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...
Posted
Updated 14-Mar-13 9:53am
v2
Comments
[no name] 14-Mar-13 15:57pm    
You can but I do not know why you would want to. It just bloats up your database. "Give me sample code"? Are you sure you want to demand code from people?

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.
 
Share this answer
 
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[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900