Stored procedure C#
I am using a stored procedure to insert a record into a table. i am passing an output paramater to get the identity value of the row inserted. The stored procedure is working fine and i am able to see the out put value.
BUT WHEN I AM USING C# CODE FOR RETRIEVING THE VALUE,
THE VALUE IS OF THE OUTPUT PARAMETER IS BEING SET TO DBNULL.VALUE.
could you please help me out.
omkar
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

plot8 reputationPosted Sep 15, 2004, 2:46 AM EDT
S_Kiryazov143 reputationPosted Sep 15, 2004, 5:14 AM EDT