Hi All
I have successfully uoloaded pdf file in sql server database using DATABLOB.
Does anyone know how to read back pdf file in picture box??
The following code gives an error while reading pdf file: Invalid parameter used but works fine for reading jpg, tif, gif.
Dim b() As Byte = CType(da.Item(0), Byte())
PictureBox1.Image = Image.FromStream(New MemoryStream(b))
Thanks
I have successfully uoloaded pdf file in sql server database using DATABLOB.
Does anyone know how to read back pdf file in picture box??
The following code gives an error while reading pdf file: Invalid parameter used but works fine for reading jpg, tif, gif.
Dim b() As Byte = CType(da.Item(0), Byte())
PictureBox1.Image = Image.FromStream(New MemoryStream(b))
Thanks