試一試啦!(我已在用)
CustomerData.ADODataSetFmMt.Edit;
if not OpenPictureDialog1.Execute then exit;
DBImage1.Picture.LoadFromFile(OpenPictureDialog1.FileName);
CustomerData.ADODataSetFmMt.Post;
CustomerData.ADODataSetFmMt.Edit;
if not OpenPictureDialog1.Execute then exit;
DBImage1.Picture.LoadFromFile(OpenPictureDialog1.FileName);
CustomerData.ADODataSetFmMt.Post;
1)将table open
2)将Timage loadfromfile一个图片文件
3)将table post
4)ok 了。
注释:我用这种方法成功了。绝对没问题。如果还不行,请和我联系。Email:[email protected]