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.
Comments
Post a Comment