Is it possible to use this code to view a BLOB in the db. The file not in my harddrive and I'm having a problem converting a Byte()array to a string?
Code:Dim strFileName As String = ("C:\index.pdf") Dim objStream As Stream = File.Open(strFileName, FileMode.Open) Dim buffer(objStream.Length) As Byte objStream.Read(buffer, 0, objStream.Length) objStream.Close()




Reply With Quote