#12002/9/1 1:49:54
我需要用一个ADO.Command的对象来把一些数据插入数据库~~~~
但是不知为什么我的SQL语句好像不对~~~请大家帮我看看~~~~~~~~~谢谢~~~~~~~~~~~
错误类型:
ADODB.Command (0x800A0E7D)
/new.asp, 第 64 行
我的SQL是~~:
INS01.CommandText = "INSERT INTO Post (chi, id, Name, Topic, Cont, exp) valueS ("+ ren.replace(/'/g, "''") + ","+ name.replace(/'/g, "''") + ","+ uses.replace(/'/g, "''") + ","+ title.replace(/'/g, "''") + ","+ text.replace(/'/g, "''") + ","+ exp.replace(/'/g, "''") + ") ";
俺的脚本语言使用的是javascript~~