求ASP+access图片上传并显示 源文件
本人菜鸟一个 想求ASP+access图片上传并显示的源文件 学习如何上传图片并显示
<% set connGraph=server.CreateObject("ADODB.connection") connGraph.open "driver={Microsoft Access Driver (*.mdb)};DBQ="&server.MapPath("image.mdb") str2=Str_filter(Request.Form("名称")) set rec=server.createobject("ADODB.recordset") strsql="select img,name from images where id="&trim(request("id"))&"" rec.open strsql,connGraph,1,1 Response.ContentType = "image/*" Response.BinaryWrite rec("img").getChunk(7500000) rec("name")=str2 rec.close set rec=nothing set connGraph=nothing %>