procedure TForm1.saveClick(Sender: TObject);
begin
graphic1:=tgraphic.create; //报错,为什么
graphic1.loadfromfile(opendialog1.filename);
table1.insert;
table1.fields[2].assign(graphic1);
table1.post;
graphic1.free;
end;
begin
graphic1:=tgraphic.create; //报错,为什么
graphic1.loadfromfile(opendialog1.filename);
table1.insert;
table1.fields[2].assign(graphic1);
table1.post;
graphic1.free;
end;
解决方案 »
- 一个ClientDataSet问题!!!
- delphi里的Round问题
- 安装Developer Express Inc\ExpressLibrary控件时出错
- 急,为什么我一ShowModalForm(FRM),就抱'Canot make a visible window Modal'错误
- lw549生日快乐!!!!(2.28)
- 现在我在query里把所有的字段又加上不出错了,但是我输2.2它给我2.200000434
- 工具栏和菜单栏的随意拖拉怎么实现??/
- 请各位高手指点!!!关于排课系统
- 怎样在桌面程序的界面中嵌入网页?....急啊!!~~
- 哪位大哥给我讲一下什么是Frame?
- 如何判断所写的判断语句是否正确?
- 高分求解,在线等待
var graphic1:tgraphic;----
begin
graphic1:=tgraphic.create; //报错,为什么
graphic1.loadfromfile(opendialog1.filename);
table1.insert;
table1.fields[2].assign(graphic1);
table1.post;
graphic1.free;
end;
graphic1:=tjpegimage.Create;