insert statement return

Hi,

I am not sure as to in which forum should i put this query as it is a simple one.

What should an executenonquery will return if inserting a single row is successful.

as per documentation available on many websites,it should be 1,while mine program(executenonquery) is giving it as 0.is it right

in case of updating and deleting a single row, my program(executenonquery) is rightly giving 1.

please suggest as to what is right.

regards

[481 byte] By [object1] at [2007-12-26]
# 1
The insert statement should return the number of rows inserted. Are you sure your insert is successful?
Roger_Wolter_MS at 2007-9-4 > top of Msdn Tech,Architecture,Architecture General...