Hi,

I'm trying to save some images into my Database of my application. Can I know which of the method below is better and why?

1. Store only the picture path into the database. Retrieve Picture according to its path.

2. Store the Picture in Database as bytes.


Thanks.

I think a better way is convert as byte..
Some trouble can happen if you missing the path of image or moving some pics.

This is exactly what's in my mind before reading those articles. There are some pros and cons of doing so... You'll know more after you read those articles... :)

Try MicroSoft example Named Of
VB.NET - Data Access - Read and Write Images from a Database