c# - Get the changes done by ExecuteNonQuery() -


when use dataset , dataadapter modification (insert, update, delete) on table use dataset.getchanges() method change information.

but when using sqlcommand.executenonquery() modifications on table can modification information? , if yes, please tell me how access it.

dataset , dataadapter work in whole different way sqlcommand.
available information of later executenonquery return value:

type: system.int32
number of rows affected.

msdn


Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

Android Capture Image From Camera -

Define custom list-style-type in CSS -