G
Guest
Hi,
I would like to log the actual sql commands that a dataadapter is executing
against the database. Currently I have been able to use the RowUpdatingEvent
in which I am able to get at the command via eventArgs.Command.CommantText
and the parameters via eventArgs.Command.Parameters but I actually looking
for an easy way to get at the actual SQL with the parameters filled in
(strings properly quoted...). Is there an easy way to achieve this?
Thanks for your help in advance!
Terry
I would like to log the actual sql commands that a dataadapter is executing
against the database. Currently I have been able to use the RowUpdatingEvent
in which I am able to get at the command via eventArgs.Command.CommantText
and the parameters via eventArgs.Command.Parameters but I actually looking
for an easy way to get at the actual SQL with the parameters filled in
(strings properly quoted...). Is there an easy way to achieve this?
Thanks for your help in advance!
Terry