C cjfandhf Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-01 #3 你提的问题我想: clientdataset1.edit; clientdataset1.fieldbyname('blob').loadformfile('*.bmp'); clientdataset1.post; clientdataset1.applyupdates(-1);
你提的问题我想: clientdataset1.edit; clientdataset1.fieldbyname('blob').loadformfile('*.bmp'); clientdataset1.post; clientdataset1.applyupdates(-1);
C cmldy Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-01 #4 TBlobField(ClientDataSet.FieldByName('Image')).LoadFromFile(OpenImage.FileName) ; ClientDataSet.ApplyUpdates(-1) ;
TBlobField(ClientDataSet.FieldByName('Image')).LoadFromFile(OpenImage.FileName) ; ClientDataSet.ApplyUpdates(-1) ;
T tang wei Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-18 #5 cmldy和cjfandhf的办法都试过,仍然无法写入DB !
T tang wei Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-20 #8 cmdly的方法是可行的!谢谢各位了.分数下一次给你们加上. 但不知下面的办法为什么不行: DBimage1.picture.LoadFromFile(OpenDialog.FileName); BLOBFiled1.Assign(DBImage1.Picture.Bitmap); Post; ApplyUpdate(-1); 如图片是JPG,怎么解决?
cmdly的方法是可行的!谢谢各位了.分数下一次给你们加上. 但不知下面的办法为什么不行: DBimage1.picture.LoadFromFile(OpenDialog.FileName); BLOBFiled1.Assign(DBImage1.Picture.Bitmap); Post; ApplyUpdate(-1); 如图片是JPG,怎么解决?