查询语句
CString sItem="aaa";
CString strSQL = "Insert into LYL.TEST1(name,Age,ID) value('sItem1',0,1)";
上面这样写正常
而下面这样就不正常,什么原因?如果我想用变量代替数值,怎么做?
CString sItem="aaa";
int i=0;
int j=1;
CString strSQL = "Insert into LYL.TEST1(name,Age,ID) values('sItem1',i,j)"
问题解决 50分全给,非常简单的