Insert com ADO DataSET - O DataSet não possui ExecSql
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
Curtidas 0
Respostas
Joilson_gouveia
19/08/2003
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...
GOSTEI 0