教父大人 滚蛋腐书网1:怎么样在VB中将ACCESS数据库中的OLE图片用PICTURE控件或者IMAGE控件显示出来???
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/05 06:21:14
建个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文件!