Hi,
I am executing a stored procedure using the ExecuteNonQuery method of the command object. I am trying to get the number of affected rows by the stored procedure. But I am always getting -1 as the rows affected although my stored procedure return 1 record. Any idea why this is happening. Thanks in advance for help.
Thanks
Hitesh Kapadia
I am executing a stored procedure using the ExecuteNonQuery method of the command object. I am trying to get the number of affected rows by the stored procedure. But I am always getting -1 as the rows affected although my stored procedure return 1 record. Any idea why this is happening. Thanks in advance for help.
Thanks
Hitesh Kapadia