I have the following query:
create proc [dbo].[DeleteParts] @TransNo nvarchar (6), @fpart nvarchar(25) AS DECLARE @Returns BIT SET @Returns =
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 });