My SQL Server stored procedure expects two char(2)
parameters.
I am passing it string as following but the stored procedure returns no data.
this.parameters.Add(new SqlParameter("A", this._A));//this._A is string type
this.parameters.Add(new SqlParameter("B", this._B));
I have tried adding SqlType.Char
and Size
parameter as well but no success. Can anyone suggest a solution please?