• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

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
0
Cuneyt
Asked:
Cuneyt
  • 2
1 Solution
 
EmmDiehCommented:
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now