麻美由真soe146ed2k:怎么样在VB中将ACCESS数据库中的OLE图片用PICTURE控件或者IMAGE控件显示出来???
来源:百度文库 编辑:高校问答 时间:2024/05/05 09:51:42
建个ASP文件
......
打开数据库
set rec=server.createobject("ADODB.recordset")
................
.............
myimagedata=rec("pic").getChunk(7500000)
Response.ContentType = "image/*"
Response.BinaryWrite myimagedata
.......................
rec.close
set rec=nothing
set connGraph=nothing
.....................
===================
PICTURE 的路径设为这个ASP文件!