varbinary max

  1. Z

    Question How to retrieve .pdf file from varbinary(max) colunm

    Here is my issue, how do I retrieve a .pdf from varbinary(max) colunm using VB.Net I was able to save to sql using: Dim pdf As String Dim pdfByteArray As Byte() Dim lLenPdf As Integer = Len("C:\pdfFile.pdf") Dim mypdf(100000)() As Byte Dim numBytes As Long =...