紧急求救 马上给分
有如下的语句
dim insertSQL
insertSQL="insert into CustomerInfo(Sn,Username,Email,Password,Gender,Birthday,Address,HomeTel,MarryStatus,IDType,ID,Work,Income,Education,PostCode,Method,AcceptMail,InfoType) values('"&sn&"','"&username&"','"&email&"','"&password&"','"&gender&"','"&birthday&"','"&homeaddress&"','"&telephone&"','"&marry&"','"&idtype&"','"&id&"','"&work&"','"&income&"','"&education&"','"&postcode&"','"&method&"','"mailaccept"','"&infotype&"')"
conn.Execute insertSQL
Response.redirect "reg_ok.asp"
错误如下:
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
Microsoft VBScript 编译器错误 错误 '800a0401'
语句未结束
/zhao/reg.asp,行58
insertSQL="insert into CustomerInfo(Sn,Username,Email,Password,Gender,Birthday,Address,HomeTel,MarryStatus,IDType,ID,Work,Income,Education,PostCode,Method,AcceptMail,InfoType) values('"&sn&"','"&username&"','"&email&"','"&password&"','"&gender&"','"&birthday&"','"&homeaddress&"','"&telephone&"','"&marry&"','"&idtype&"','"&id&"','"&work&"','"&income&"','"&education&"','"&postcode&"','"&method&"','"mailaccept"','"&infotype&"') "
--------------------------------------------------------------------------
这是什么原因?