SQL OUTPUT Stored Procedures not working with ExecuteReader

前端 未结 1 705
无人及你
无人及你 2020-12-09 09:58

When using a Stored procedure on SQL 2008 and C# 4.0, I am unable to retrieve OUTPUT information and return info from a Select statement. I keep getting \"Object reference n

相关标签:
1条回答
  • 2020-12-09 10:26

    According to, http://msdn.microsoft.com/en-us/library/ms971497, you must close the datareader before you process the output parameters.

    0 讨论(0)
提交回复
热议问题