您试用 TField.SetData()来把数据写入字段看看。
用 TField.GetData()可以取出数据,还原为jpg文件,然后可用TImage控件打开。

解决方案 »

  1.   

    //从数据库保存到文件
    procedure TForm1.LoadFromFileClick(Sender: TObject);
    begin
      tblobfield(table1.FieldByName('bmp')).SaveToFile('c:\abcd.bmp');
    end;
    //从文件装入到数据库
    procedure TForm1.SaveToFileClick(Sender: TObject);
    begin
      tblobfield(table1.FieldByName('bmp')).loadfromfile('c:\abcd.bmp');
    end;
    用图片框显示
    image1.Picture.Bitmap.Assign(table1.fieldbyname('graph'));
      

  2.   

    我只知道VB中:
    类型:Long Raw。
    方法:GetChunk,PutChunk.
    控件:Timage