Subject Reading Photos from Firebird
Author jamesconnorjr
Hello everyone once again.

I am currently storing photos in the db by using this code:

If FBReader.Read() Then
Dim FBArray(FBReader.GetBytes(1, 0, Nothing, 0,
Integer.MaxValue) - 1) As Byte
FBReader.GetBytes(1, 0, FBArray, 0, FBArray.Length)
Dim DataStream As New System.IO.MemoryStream(FBArray)
If Not DataStream Is Nothing Then imgMain1.Image =
System.Drawing.Image.FromStream(DataStream)
End If

My questions are 1) whether there is another way to be reading the
photos from the db and 2) what should the specs for my blob field be??
Currently they are set at size 4096 with a subtype of 20. Thanks again.