Fórum Insert com ADO DataSET - O DataSet não possui ExecSql #176017
19/08/2003
0
Como faço para executar o comando INSERT utilizando o ADO DataSet. No ADO Command se utiliza o ExecSql mas no ADO DataSet não existe esta função.
Obrigado !
Obrigado !
Marknet
Curtir tópico
+ 0
Responder
Posts
19/08/2003
Joilson_gouveia
Use the TADODataSet component´s CommandText property to retrieve the dataset, specifying either a table name or an SQL statement (SELECT only). [b:16782cf386]TADODataSet is not capable of issuing Data Manipulation Language (DML) SQL statements that do not return result sets (like DELETE, INSERT, and UPDATE). For this use a component like TADOCommand or TADOQuery[/b:16782cf386]. (Retirado do Help...)
Use TADOCommand...
Use TADOCommand...
Responder
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)