I am creating a web application using ASP.net C#. I have a booking form and I need to insert data into a table using a Stored Procedure. The table has several columns, out of wh
Change the return variable to:
Select @RcptNo = SCOPE_IDENTITY()
It will return the identity number created for the inserted record within this procedure.