附近有语法错误。
源代码:
ranse_price=request.form( "ranse_price "& request.form( "id "))
rongliang=request.form( "rongliang "& request.form( "id "))
set rec=server.createobject( "ADODB.recordset ")
rec.Open "select id,ranse_price,rongliang from ranse where id= "&trim(request.form( "id ")),conn,3,3
rec( "ranse_price ")=ranse_price
rec( "rongliang ")=rongliang
rec.update
rec.close
set rec=nothing
set rs=nothing
response.redirect( "ranse_fei.asp?id= "&request( "htid "))
该页面是修改上个页面的2项数据,rongliang和ranse_price 报错id=后面语法错误,我就是搞不懂了?
------解决方案--------------------rec.Open "select id,ranse_price,rongliang from ranse where id= "&trim(request.form( "id "))& ",conn,3,3
看一下