ASP注册会员系统
来源:百度知道 编辑:UC知道 时间:2024/05/22 15:33:36
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] INSERT INTO 语句的语法错误。
/member/NEW_member.asp, 第 78 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon)
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] INSERT INTO 语句的语法错误。
/member/NEW_member.asp, 第 78 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon)
很明显是INSERT INTO插入记录错误
格式:
Insert into 表(列1,列2,....列X)Values(值1,值2,....值X)
如果要插入的数据量较多,使用RecordSet.AddNew方法,比较直观,减少语法上的错误。
Rs.AddNew
Rs(列1)=值1
Rs(列2) =值2
......
Rs(列X)=值X
Rs.Update