Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2006
    Posts
    3

    Unanswered: Export varbinary Data Types to Local PC from SQL Database

    Could someone help me with writing the code to export the contents of a varbinary field in my database to make the contents be written to the local harddrive? I can do this in Visual Foxpro but my company wants it in C# and I have no clue about C#.

    Thank you

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    What do you need help doing? Are you looking for someone to write the C# program for you?

    -PatP

  3. #3
    Join Date
    Aug 2006
    Posts
    3
    You know.........this is the 6th forum I have posted this question to. I must not be asking my question correctly.

    I need help writing code to retrieve all my files out of an SQL IMAGE (varbinary) field and make the contents become files back on my hard drive again.

  4. #4
    Join Date
    Aug 2006
    Posts
    3
    There are 192 records. I need to retrieve the contents of all the varbinary fields and put the contents back on my hard drive. Some are .xls files, some .doc, some .txt. But, they need to come back out of SQL Server and go back to being files on my hard drive again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •