Click here to Skip to main content
15,921,174 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hai all,
I Have a Window form and MS Access database. It have picture box and three buttons. One for saving picture to MS Access database, second button for retrive photos and other for deleting photos. please give C# codes

By madhukumar V
Posted

You're not going to get much in the way of positive response until you do the work and come back with specific questions. You know, make an effort to write the code to save a picture, then come back with a question about why it is failing at a specific point, or how to do one specific part of saving the picture. Asking us to throw you a fully written app is only going to get you downvoted and ridiculed. Good luck!
 
Share this answer
 
First of all, the fact it's in a picture box is irrelevant. Second, Google abounds with information on how to do this. Your DB can't save a 'Bitmap', it can save the bytes that form it though. Your Bitmap class has methods to build itself from such a stream, or save itself to such a stream.
 
Share this answer
 

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