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. Image retrieving [modified]

Image retrieving [modified]

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

    Hi, Is it possible to retrieve image directly from database and displaying it in image control? If so then guide me...:confused:

    modified on Saturday, November 15, 2008 3:46 AM

    W N 2 Replies Last reply
    0
    • B B87

      Hi, Is it possible to retrieve image directly from database and displaying it in image control? If so then guide me...:confused:

      modified on Saturday, November 15, 2008 3:46 AM

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Your question is too large to answer in depth. If your problem is the datatype and the data is stored in a varbinary (or image) column, when you fetch it, you use byte array for the parameter type. First build the basic communication between client and db. Then add varbinary column to your select statement. If you have specific problems, you should post the code that's causing the problem. This way it would be possible to answer the question.

      The need to optimize rises from a bad design. My articles[^]

      1 Reply Last reply
      0
      • B B87

        Hi, Is it possible to retrieve image directly from database and displaying it in image control? If so then guide me...:confused:

        modified on Saturday, November 15, 2008 3:46 AM

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

        of course my horse :laugh: do you want to load it to crystal reports or a form control? check here for "load image from database", you will get many articles. i got it from there.:~

        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