0

i'm currently modifying a legacy application that uses the SqlHelper class in c#. how do you access the OUTPUT value using an executedatareader?

Martin Ongtangco
  • 22,657
  • 16
  • 58
  • 84

1 Answers1

1

You need to pass a SqlParameter object with the correct name, then check the parameter's value after calling ExecuteDataReader.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964