BLOB with queries

How can I get a blob field From SQL Server 6.5
to a TImage Componenet or Insert from TImage to
the database
give me a piece of code please

thanks in advance
CuneytAsked:
Who is Participating?
 
EmmDiehConnect With a Mentor Commented:
use a tBlobStream.

bs := tBlobStream.Create(aBlobField, bmRead);
try
  image.LoadFromStream(bs);
finally
  bs.Free;
end;
0
 
CuneytAuthor Commented:
thanks a lot
0
 
EmmDiehCommented:
Please evaluate the answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.