Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Retreving images from database

Retreving images from database

Scheduled Pinned Locked Moved The Lounge
databasehelp
18 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H hari4ur

    Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

    D Offline
    D Offline
    Duncan Edwards Jones
    wrote on last edited by
    #8

    I have yet to hear of a convincing argument for storing images in a database...it's a file - store it in a file system.

    '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

    D 1 Reply Last reply
    0
    • H hari4ur

      Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

      B Offline
      B Offline
      benjymous
      wrote on last edited by
      #9

      OHAI! U IS IN WRONG FORUM 4 ASKIN DA PROGAMMIN QWESTUN KTHNXBYE

      -- Help me! I'm turning into a grapefruit! Buzzwords!

      1 Reply Last reply
      0
      • D Duncan Edwards Jones

        I have yet to hear of a convincing argument for storing images in a database...it's a file - store it in a file system.

        '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

        D Offline
        D Offline
        Daniel Turini
        wrote on last edited by
        #10

        Duncan Edwards Jones wrote:

        I have yet to hear of a convincing argument for storing images in a database...it's a file - store it in a file system.

        Some quick ones:

        • Transactions (e.g., be sure that when you delete a record, you also delete the file and do not leave any files behind)
        • Integrated security (since only the file name is stored at the DBMS, how do you control file modifications?). If you have hundreds of users, it can become complicated maintaining the two security models in sync
        • Triggers
        • Replication
        • Typically file systems are not optimized for a case with lots of little files. Bad performance starts to appear quickly (e.g., 50,000 or 100,000 records)

        I see dead pixels Yes, even I am blogging now!

        1 Reply Last reply
        0
        • H hari4ur

          Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #11

          hari4ur wrote:

          Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

          The irony of it all is that there's an article right here[^], sitting on the home page. One of many. Marc

          Thyme In The Country
          Interacx
          My Blog

          V 1 Reply Last reply
          0
          • M Marc Clifton

            hari4ur wrote:

            Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

            The irony of it all is that there's an article right here[^], sitting on the home page. One of many. Marc

            Thyme In The Country
            Interacx
            My Blog

            V Offline
            V Offline
            Vasudevan Deepak Kumar
            wrote on last edited by
            #12

            Marc Clifton wrote:

            sitting on the home page

            Just like Nyctalopia (Night Blindness), he is probably suffering from Friday Myopia. :)

            Vasudevan Deepak Kumar Personal Homepage Tech Gossips

            M 1 Reply Last reply
            0
            • V Vasudevan Deepak Kumar

              Marc Clifton wrote:

              sitting on the home page

              Just like Nyctalopia (Night Blindness), he is probably suffering from Friday Myopia. :)

              Vasudevan Deepak Kumar Personal Homepage Tech Gossips

              M Offline
              M Offline
              Marc Clifton
              wrote on last edited by
              #13

              Vasudevan Deepak Kumar wrote:

              he is probably suffering

              There. ;P Marc

              Thyme In The Country
              Interacx
              My Blog

              1 Reply Last reply
              0
              • H hari4ur

                Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #14

                hari4ur wrote:

                Retreving

                hari4ur wrote:

                retrive

                No wonder Google couldn't find it!

                **

                xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
                New xacc.ide release RSS feed^

                **

                1 Reply Last reply
                0
                • H hari4ur

                  Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #15

                  Elephants.

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  1 Reply Last reply
                  0
                  • H hari4ur

                    Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

                    L Offline
                    L Offline
                    leckey 0
                    wrote on last edited by
                    #16

                    First, remove head from a** and read the forum guidelines. NO PROGRAMMING QUESTIONS IN THE LOUNGE. Second, try using a freaking search engine or search within CP you lazy.

                    _____________________________________________ Flea Market! It's just like...it's just like...A MINI-MALL!

                    1 Reply Last reply
                    0
                    • H hari4ur

                      Hai friends, I was insert an image into database. Now my problem how retrive that image and store it in image control in aspx page Please provide solution. Thanks, hari

                      L Offline
                      L Offline
                      lost in transition
                      wrote on last edited by
                      #17

                      Don't listen to them it is simple:

                      BitMap GetPixs(object ThisWouldBeYourObject)
                      {
                      Database db = (DB)ThisWouldBeYourObject;
                      db.getrecord("PixsName");
                      ChuckNorris cn = new ChuckNorris();
                      cn.roundhouse(db);
                      return (BitMap)"No programming questions in Lounge!!!";
                      }

                      Thank, Come Again!!


                      God Bless, Jason
                      God doesn't believe in atheist but He still loves them.

                      1 Reply Last reply
                      0
                      • V Vasudevan Deepak Kumar

                        hari4ur wrote:

                        I was insert an image into database.

                        Did you mean I was insert_ing_ an image into database?

                        hari4ur wrote:

                        retrive

                        Did you mean retrieve?

                        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

                        H Offline
                        H Offline
                        hari4ur
                        wrote on last edited by
                        #18

                        ya correct, I mean Retreive from database and store it in image control in aspx page. Please provide solution.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups