在access中建一个备注字段,名为binary.
主键id. 【程序编程相关:多层数据库开发八:访 问 表 格】 【推荐阅读:dbgrideh如何实现点击标题排序】有一timage已装载的图片.memstream为tmemorystream;p为byte 【扩展信息:DELPHI常用函数集及简要范例】 存: self.image1.picture.bitmap.savetostream(memstream); memstream.seek(0,sofrombeginning ); while memstream.position<memstream.size do begin memstream.readbuffer(p,1); i:=length(inttostr(p)); self.adodataset1.recordset.fields[1].appendchunk(inttostr(i)+inttostr(p)); end; self.adodataset1.recordset.updatebatch(1); 取: with self.adodataset1 do ... 下一页