Save Image to HDD or store as Byte Array in database? [duplicate]

vnnghia03

New Member
\[quote\] Possible Duplicate:
Storing Images in DB - Yea or Nay? \[/quote\]Pretty straight forward, I am hosting a site where users can upload pictures, and I have a .net File upload control working appropriately.. I'm just wondering what methodology I should use to store them on the server..
  • I can use the SaveAs() method off the FileUpload control which saves it as an actual file..
  • I can break the image down to a Byte[] and store it in the database for access.
I believe the real question here is.. Do I want the load on IIS or Sql Server 2008 R2?What's the general consensus on which methodology I should use and why? Thanks!
 
Back
Top