AdoCon:=CreateOleobject('AdoDB.Connection');
AdoCon.open('Provider.....');
sdf:='hello';
str:='insert tem (ip) values ('+sdf+')';
AdoCom:=CreateOleObject('Adodb.command');
Adocom.activeconnection:=AdoCon;
Adocom.commandType:=adCmdtext;
Adocom.CommandText:=str;
Adocom.execute;
怎么不能插入数据,报什么'hello'什么错误,用select可以,望高手指点!!!