How to save&retrieve image in sqlserver

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanathosh1263
    New Member
    • Jan 2010
    • 1

    #1

    How to save&retrieve image in sqlserver

    how to retrieve the image & save image permanently in database
    Last edited by debasisdas; Jan 20 '10, 07:27 AM. Reason: typo
  • vb5prgrmr
    Recognized Expert Contributor
    • Oct 2009
    • 305

    #2
    Hmmm... Time to use your friends (yahoo, google, ask, answers, bing) and do a search like this one...



    Just so you know, Visual Basic 6.0 was and is such a popular language that there is at least a terrabyte of code, examples, and tutorials out there. You just need to figure out the right keywords to find what you want.



    Good Luck

    Comment

    • farooqhussain786
      New Member
      • Aug 2006
      • 3

      #3
      Dear sanathosh,

      There are two ways to save and retrieve from SQL Server. The first one is create a directory beside you project and just save you path of that image in you SQL server field.

      The second way convert you image in binary and save you image filed in database.

      http://www.c-sharpcorner.com/UploadF...etoBinary.aspx

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Please check here and here.

        Comment

        Working...