I have the following query:
create proc [dbo].[DeleteParts]
@TransNo nvarchar (6), @fpart nvarchar(25)
AS
DECLARE @Returns BIT
SET @Returns =
I don't see that you are returning the value. Please add the Return statement to return any value from the stored proc.
you must specify output type in stored procedures like this
@IDout [int] output
then add this parameter
SPParamReturnCollection sp = new SPParamReturnCollection();
sp.Add(new SPParams { Name = "IDout", ParamDirection = ParameterDirection.Output, Type = SqlDbType.Int });