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. General Programming
  3. C#
  4. Display image in Image control or Bitmap

Display image in Image control or Bitmap

Scheduled Pinned Locked Moved C#
databasegraphicstutorialquestion
6 Posts 3 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.
  • B Offline
    B Offline
    B87
    wrote on last edited by
    #1

    Hi, I have upload an image in to image column but i have no idea to get it from DB and displaying it in Image control or Bitmap.Is it possible to display?Then plz guide me...

    G N 2 Replies Last reply
    0
    • B B87

      Hi, I have upload an image in to image column but i have no idea to get it from DB and displaying it in Image control or Bitmap.Is it possible to display?Then plz guide me...

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      Here you are: How To Read and Write BLOB Data by Using ADO.NET with Visual C# .NET[^]

      Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

      B 1 Reply Last reply
      0
      • G Giorgi Dalakishvili

        Here you are: How To Read and Write BLOB Data by Using ADO.NET with Visual C# .NET[^]

        Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

        B Offline
        B Offline
        B87
        wrote on last edited by
        #3

        Hi Thanx for that link but it uses file to store and retrieve.Is it same for database retrieval.And also i want that image to display in some specific area of my page:confused:.

        G 1 Reply Last reply
        0
        • B B87

          Hi Thanx for that link but it uses file to store and retrieve.Is it same for database retrieval.And also i want that image to display in some specific area of my page:confused:.

          G Offline
          G Offline
          Giorgi Dalakishvili
          wrote on last edited by
          #4

          It stores data in database. In order to show it on form you can use Image.FromStream method to construct the image after you read data from database in stream.

          Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

          B 1 Reply Last reply
          0
          • G Giorgi Dalakishvili

            It stores data in database. In order to show it on form you can use Image.FromStream method to construct the image after you read data from database in stream.

            Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

            B Offline
            B Offline
            B87
            wrote on last edited by
            #5

            K thanks i will check it out...

            1 Reply Last reply
            0
            • B B87

              Hi, I have upload an image in to image column but i have no idea to get it from DB and displaying it in Image control or Bitmap.Is it possible to display?Then plz guide me...

              N Offline
              N Offline
              nelsonpaixao
              wrote on last edited by
              #6

              do you what to display images store in a database? search here in codeproject for samples. If you get stuck in debuging or for something else ask here, we help.:cool:

              nelsonpaixao@yahoo.com.br trying to help & get help

              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