C
Chris Leffer
Hi.
Just reading about the sqldatareader object I am confused about the
recordsaffected property.
The example on the help docs use a procedure with some inserts and a
select. Can I use a datareader object to run sql commands that does not
return records? What is the advantage of using a
datareader.recordsaffected instead of command.executenonquery, since the
later also can give me the records affected?
Regards,
Chris Leffer
Just reading about the sqldatareader object I am confused about the
recordsaffected property.
The example on the help docs use a procedure with some inserts and a
select. Can I use a datareader object to run sql commands that does not
return records? What is the advantage of using a
datareader.recordsaffected instead of command.executenonquery, since the
later also can give me the records affected?
Regards,
Chris Leffer