无法更新纪录!!!高分在线等
set rs=server.createobject("adodb.recordset")
sql2="select * from products where cpid="&id
rs.open sql2,conn,1,3
rs("cpbh")=cpbh
rs("cpmc")=cpmc
rs("gsmc")=sccj
rs("cpsb")=cpsb
rs("cpcd")=cpcd
rs("cpjg")=cpjg
rs("cpgg")=cpgg
rs("cpms")=xxsm
rs("jysm")=jysm
rs("date")=date
if picture<>"" then
rs("cptp")=picture
end if
rs.update
rs.close
报错为基于查询的更新失败,因为没发现要更新的行。