Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have made a windows application and along with other values I have given a picture box which is connected to web cam, and I am able to save it in desired location of my laptop through savefiledialog but i not able to save it directly to database without opening any showdialog.
I am saving the image in image format in database.
Please help me with your suggetions...
Posted

1 solution

Have a look at this: Why do I get a "Parameter is not valid." exception when I read an image from my database?[^] The code you need is at the bottom - but it might be worth reading the rest anyway as it explains why to save the image in that way.
 
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