How to find out records number affected?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Which was updated by the sql UPDATE instruction.
Is there some objects returning the number
or I have to do explicit SELECT nevertheless?

Thanks in advance.
 
Ivan said:
Which was updated by the sql UPDATE instruction.
Is there some objects returning the number
or I have to do explicit SELECT nevertheless?

Thanks in advance.

the Update method itself return the "Rows Affected"...
 
How do you invoke UPDATE in first place?
Take note that DbCommand.ExecuteNonQuery returns affected rows count.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top