L
ljsoft
Unregistered / Unconfirmed
GUEST, unregistred user!
var sSQL:string;
sSQL:='insert into staff_info (userid,staffname,deptno,rankno,password) '
+' values ('''+EditUserid_reg.Text+''','''+EditName_reg.Text+''','''
+sDeptno+''','''+sRankno+''','''+EditPass.Text+''')';
ClientDataset.Close;
ClientDataset.CommandText:=sSQL;
ClientDataset.Execute;
delphi6 +WebConnection
查询没有问题
运行时提示: insert into 语法错误
c/s下运行没有问题。
sSQL:='insert into staff_info (userid,staffname,deptno,rankno,password) '
+' values ('''+EditUserid_reg.Text+''','''+EditName_reg.Text+''','''
+sDeptno+''','''+sRankno+''','''+EditPass.Text+''')';
ClientDataset.Close;
ClientDataset.CommandText:=sSQL;
ClientDataset.Execute;
delphi6 +WebConnection
查询没有问题
运行时提示: insert into 语法错误
c/s下运行没有问题。