0

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.

3
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by maczoon
0

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

0

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... :)

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.