下面是代码,问题如上!!
<!--#include file="conn.asp"-->
<%
VName=CStr(Trim(Request.Form("Name")))
VTel=CStr(Trim(Request.Form("Tel")))
VCompany=Cstr(Trim(Request.Form("Company")))
VChanpin=Cstr(Trim(Request.Form("Chanpin")))
VAddress=Cstr(Trim(Request.Form("Address")))
VContent=Cstr(Trim(Request.Form("Content")))
%>
<%
sql="Insert Into Dingdan (Name,Tel,Company,Chanpin,Address,Content) Values('"&VName&"','"&VTel&"','"&VCompany&"','"&VChanpin&"','"&VAddress&"','"&VContent&"'")
Conn.execute(sql)
%>
Microsoft VBScript 编译器错误 错误 '800a0401'
语句未结束
/save.asp,行 12
sql="Insert Into Dingdan (Name,Tel,Company,Chanpin,Address,Content) Values('"&VName&"','"&VTel&"','"&VCompany&"','"&VChanpin&"','"&VAddress&"','"&VContent&"'")
--------------------------------------------------------------------------------------------------------------------------------------------------------------^