Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing a vb.net winform project that takes a persons photo ID, I want to store the location of the photo in a SQL Server database. In the project, a persons details are taken (Name, Number, Address, etc) and stored in the database. I can do that part no problem. A photo is taken of the person and stored in a folder on one of the drives on the network. There is an option to choose a photo from this folder in the project and it is added to the profile. What is the best way to retrieve the location of the image and how do I go about storing it in the Sql server database? I want to be able to use the location of the photo to call it to use again in another part of the project. Any help with this problem would be greatly appreciated. Thanks.
Posted
Updated 7-Aug-14 23:39pm
v4

1 solution

Store the file path as a string, then.
 
Share this answer
 
Comments
Member 10804519 8-Aug-14 9:09am    
Thanks
CPallini 8-Aug-14 9:36am    
You are welcome.

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