get a returned value and a set of record in C# when calling a stored procedure

Viewed 2749

I have a stored procedure that returns 2 output parameters and a record.

But in C#:

  • ExecuteReader won't allow a returned value but allows records
  • ExecuteNonQuery allows a returned value but not record.

How can I get both?

2 Answers
Related