Microsoft VBScript 运行时错误 错误 '800a01a8' 缺少对象: '' /backstage/cakeadd.asp,行 24
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<title>add</title>
<!-- #include file="../Connections/conn.asp" -->
<%
categoryID=Request.Form("categoryID")
cakeName=Request.Form("cakeName")
Introducestr=Request.Form("Introduce")
Descriptionstr=Request.Form("Description")
Price=cint(Request.Form("Price"))
sweetpic=trim(Request.Form("sweetpic"))
Scene=Request.Form("Scene")
cakepic=trim(Request.Form("cakepic"))
strSQL="insert into 蛋糕信息表 values("
strSQL=strSQl&"'"&categoryID&"',"
strSQL=strSQl&"'"&cakeName&"',"
strSQL=strSQl&"'"&Introducestr&"',"
strSQL=strSQl&"'"&Descriptionstr&"',"
strSQL=strSQl&"'"&Price&"',"
strSQL=strSQl&"'"&sweetpic&"',"
strSQL=strSQl&Scene&","
strSQL=strSQl&"'"&cakepic&"')"
Conn.Execute strSQL
Conn.Close
Set Conn=nothing
Response.Redirect("cake info.asp")
%>