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. Other Discussions
  3. IT & Infrastructure
  4. SAVING IMAGES INTO A DATABASE

SAVING IMAGES INTO A DATABASE

Scheduled Pinned Locked Moved IT & Infrastructure
databasehelpsql-serversysadmin
3 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.
  • S Offline
    S Offline
    structures83
    wrote on last edited by
    #1

    I HAVE BEEN TRYING TO SAVE AN IMAGE INTO SQL SERVER. I HAVE PROBLEM WHEN THE PICTURE BOX IS EMPTY. THE DATATYPE I AM USING IN THE DATABASE IS IMAGE. CONVERTING THE NULL IMAGE FROM THE PICTURE BOX TO THE BINARY IMAGE IS GIVING ME A LOT OF HELL. PLEASE I NEED HELP

    P T 2 Replies Last reply
    0
    • S structures83

      I HAVE BEEN TRYING TO SAVE AN IMAGE INTO SQL SERVER. I HAVE PROBLEM WHEN THE PICTURE BOX IS EMPTY. THE DATATYPE I AM USING IN THE DATABASE IS IMAGE. CONVERTING THE NULL IMAGE FROM THE PICTURE BOX TO THE BINARY IMAGE IS GIVING ME A LOT OF HELL. PLEASE I NEED HELP

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      If it's an empty image, why are you trying to save it? BTW - please don't use all capitals, we're big boys and girls now; we can read things that aren't written in crayon you know?

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys

      1 Reply Last reply
      0
      • S structures83

        I HAVE BEEN TRYING TO SAVE AN IMAGE INTO SQL SERVER. I HAVE PROBLEM WHEN THE PICTURE BOX IS EMPTY. THE DATATYPE I AM USING IN THE DATABASE IS IMAGE. CONVERTING THE NULL IMAGE FROM THE PICTURE BOX TO THE BINARY IMAGE IS GIVING ME A LOT OF HELL. PLEASE I NEED HELP

        T Offline
        T Offline
        taralsoni
        wrote on last edited by
        #3

        Hi, There is one more option if you wanna use it. Instead of storing image into DB you can store image location into it and at the time of fetching it use the stored location.

        Regards ------------------------------ Project Manager ICICI Prudential, Mumbai "Your choices are your half chances and so are everybody else's...."

        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