ASP 语法错误 (操作符丢失) 在查询表达式 'id=' 中
IfRequest("password")=PasswordThenstrSql="deletefromguestwhereid="&Request.Form("id")...
If Request("password")=Password Then
strSql="delete from guest where id=" & Request.Form("id")
db.execute(strSql)
response.redirect("index.asp")
Else
Response.Write "密码错误,请重新输入!"
Response.End
db.close
set db=nothing
response.redirect("index.asp")
End If
%>
</body>
</html> 展开
strSql="delete from guest where id=" & Request.Form("id")
db.execute(strSql)
response.redirect("index.asp")
Else
Response.Write "密码错误,请重新输入!"
Response.End
db.close
set db=nothing
response.redirect("index.asp")
End If
%>
</body>
</html> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询