how to retrive image from the database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chinnaits
    New Member
    • Oct 2008
    • 1

    how to retrive image from the database

    how to retrive image from the database
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Originally posted by chinnaits
    how to retrive image from the database
    For sql database, you could store the image as
    byte[] img;
    Read the image file from location and store it in database (SQL Server data type image)...
    When you want to display ... read the byte array and generate an image...

    Comment

    • Curtis Rutland
      Recognized Expert Specialist
      • Apr 2008
      • 3264

      #3
      The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

      Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

      Then when you are ready post a new question in this thread.

      MODERATOR

      Comment

      Working...