可以使用dbimage控件
procedure addimage(filename:string);
var
btmp:tbitmap;
begin
btmp:=tbitmap.Create;
btmp.LoadFromFile('C:/My Documents/benefit.bmp');
try
dbimage1.Picture.Assign(btmp);
finally
btmp.Free;
end;
end;
dbimage1.datafield 指向image字段
如果是写SQL语句,我也想知道