J
johnlhr
Unregistered / Unconfirmed
GUEST, unregistred user!
我的前台delphi5,後台 oracle 8.1.6.0
dbimage對應字段為long raw
procedure TForm1.Button1Click(Sender: TObject);
VAR
B:TJPEGIMAGE;
I:TBITMAP;
begin
I:=TBITMAP.CREATE;
B:=TJPEGIMAGE.CREATE;
TRY
B.LOADFROMFILE('e:/jpg/001.jpg');
i.Assign(b);
table1.Edit;
DBImage1.Picture.Assign(i);
table1.post;
finally
b.Free;
end;
end;
出現"Invalid blob length'
天啊為什麼?????
dbimage對應字段為long raw
procedure TForm1.Button1Click(Sender: TObject);
VAR
B:TJPEGIMAGE;
I:TBITMAP;
begin
I:=TBITMAP.CREATE;
B:=TJPEGIMAGE.CREATE;
TRY
B.LOADFROMFILE('e:/jpg/001.jpg');
i.Assign(b);
table1.Edit;
DBImage1.Picture.Assign(i);
table1.post;
finally
b.Free;
end;
end;
出現"Invalid blob length'
天啊為什麼?????