ifrequest.form("textno"&recordset2("nquestion"))<>"" thencnn.execute "insert into buchong(nquestion, statement) values('"recordset2("nquestion")"','"&request.form("textno"&recordset2("nquestion"))&"')" end if
报错"语句未结束",这是把上一面的传递结果,插入buchong表中,nquestion是数字型,statement是备注型
请问高手,这怎么回事?
ifrequest.form("textno"&recordset2("nquestion"))<>"" then
cnn.execute "insert into buchong(nquestion, statement)values('"recordset2("nquestion")"','"&request.form("textno"&recordset2("nquestion"))&"')" end if