Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Sir,
 
I have a doubt, In Asp.net MVC Project, i have to show multiple images in a web pages. When i search in the google about to show the Multiple images, then i have seen two methods , one is Showing images from local folder and another one is showing Images from database(Varbinary). And now i am confused that which method is more efficient and good.
 
Please help me to guide me to the right way..
 
Thanks
 
Dileep.
Posted 2-Aug-12 19:09pm
dilzz1.2K
Edited 2-Aug-12 19:31pm
v3
Comments
Sergey Alexandrovich Kryukov at 3-Aug-12 1:32am
   
Not a correct question -- it depends.
--SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The reason there's two methods is that it depends. Showing from a DB is more work, I would tend towards leaving the images in the file system and putting paths in the DB, in most cases.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 6,745
1 OriginalGriff 6,696
2 CPallini 5,315
3 George Jonsson 3,599
4 Gihan Liyanage 2,650


Advertise | Privacy | Mobile
Web01 | 2.8.140922.1 | Last Updated 3 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100