杨 杨健 Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-23 #1 怎样把外部图象输入到SQL库里,可不可以用DBIMAGE控件?
谭 谭俊峰 Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-23 #2 当然可以,不过要把Query控件的RequestLive设为True, 注意,太复杂的查询可能导致Query只读。
W wrench Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-23 #3 最好用流来存储图片 如 picturestream:=Tblobstream.create(table1.fieldbyname('photo') as Tblobfield,bmwrite); jpegimage1.Picture.graphic.SaveToStream(picturestream)
最好用流来存储图片 如 picturestream:=Tblobstream.create(table1.fieldbyname('photo') as Tblobfield,bmwrite); jpegimage1.Picture.graphic.SaveToStream(picturestream)
Z zensst Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-23 #4 wrench 在Table中完全正确,但是用TQuery时该怎么办呢?