Click here to Skip to main content
11,644,731 members (61,004 online)
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 OriginalGriff 680
1 jyo.net 494
2 Sergey Alexandrovich Kryukov 454
3 Afzaal Ahmad Zeeshan 404
4 CPallini 386
0 OriginalGriff 1,020
1 Sergey Alexandrovich Kryukov 673
2 DamithSL 656
3 Afzaal Ahmad Zeeshan 652
4 CPallini 555


Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 3 Aug 2012
Copyright © CodeProject, 1999-2015
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