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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Save and Displaying the images from the database

Save and Displaying the images from the database

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasetutorial
5 Posts 5 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.
  • N Offline
    N Offline
    NET India
    wrote on last edited by
    #1

    Hello Everyone, Can anybody let me know how to save and retrieve the images from the database into the datagrid in ASP.NET with C# Thnx

    I C B 3 Replies Last reply
    0
    • N NET India

      Hello Everyone, Can anybody let me know how to save and retrieve the images from the database into the datagrid in ASP.NET with C# Thnx

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      The Knowledge wrote:

      how to save

      You can store image in the server side using Fileupload control and just you need to store image path or image name in the database.

      The Knowledge wrote:

      retrieve the images

      Take Image control in Itemtemplate and give image path from the database i.e.

      bEST rEGARD pATHAN

      please don't forget to vote on the post that helped you.

      1 Reply Last reply
      0
      • N NET India

        Hello Everyone, Can anybody let me know how to save and retrieve the images from the database into the datagrid in ASP.NET with C# Thnx

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        As you need to use IMG tags to display them, you really want to store the images on your file system and store the paths to them in your database.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        1 Reply Last reply
        0
        • N NET India

          Hello Everyone, Can anybody let me know how to save and retrieve the images from the database into the datagrid in ASP.NET with C# Thnx

          B Offline
          B Offline
          bhavesh3184
          wrote on last edited by
          #4

          Can u tell me one thing U exactly want to store image in databse or only path of the image and image on your disk?

          Y 1 Reply Last reply
          0
          • B bhavesh3184

            Can u tell me one thing U exactly want to store image in databse or only path of the image and image on your disk?

            Y Offline
            Y Offline
            yogeshpan
            wrote on last edited by
            #5

            Yes i really want to store the images in my Database and want to display those images in my DataGrid .............

            The Knowledge

            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