Insert Image into Database in Visual Studio
I have a asp.net site I'm creating in Visual Studio and am stumped as to
how I should store images in my database.
I have done some research and am under the impression that storing images
in directories and then storing their references in the database is
superior to using BLOB's. However, I can't find any good tutorials on how
to do this via Visual Studio, and am completely new to creating
directories/referencing them.
At some point I want to allow users to add images tied to specific
database entries, and will also have many images/banners all around my
site, so I'm pretty sure BLOB isn't preferable. Are there any best
practices for creating and referencing directories, and how should I go
about doing so?
No comments:
Post a Comment