图片显示出错了
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'
ODBC 驱动程序不支持所需的属性。
/wt/showimg.asp,行 15
关键代码如下:
<%
set connGraph=server.CreateObject("ADODB.connection")
connGraph.ConnectionString="driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("user.mdb") & ";uid=;PWD=;"
connGraph.Open
set rec=server.createobject("ADODB.recordset")
strsql="select img from img where id=" & trim(request("id"))
rec.open strsql,connGraph,1,1 '错误所在行15
Response.ContentType = "image/*"
rec.close
set rec=nothing
set connGraph=nothing
%>