Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how scan image and save in database with c#
plz ask me
Posted
Comments
dimpledevani 1-Oct-12 9:27am    
you can scan the image and convert it to binary form and save it in your database, n can convert it back to img form while retrieving
Sandeep Mewara 1-Oct-12 14:33pm    
Tried anything?

There's something in Windows called Windows Image Acquisition (WIA). You can use that to get the image.

http://forums.codeguru.com/showthread.php?439027-Windows-Image-Acquisition-(WIA)-Code[^]

Then any file or image is essentially a byte array (binary data). The following explains how to store binary data in SQL.

http://www.dbtutorials.com/advanced/storing-binary-sql-cs.aspx[^]
 
Share this answer
 
 
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