Article ID: 308621 - View products that this article applies to.
This article was previously published under Q308621
For a Microsoft Visual Basic .NET version of this article, see 308051
For a Microsoft Visual C++ .NET version of this article, see 308624
This article refers to the following Microsoft .NET Framework Class Library namespaces:
Output parameters do not appear to be initialized or return a wrong value when you run an ADO.NET command.
This problem can occur for two reasons:
To resolve this problem, use one of the following methods:
NOTE: The parameter object for the return value must be the first item in the Parameters collection. In addition, make sure that the parameter's data type matches the expected return value.
Steps to Reproduce the Behavior
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/308049/EN-US/ )HOW TO: Call a Parameterized Stored Procedure by Using ADO.NET and Visual Basic .NET
Article ID: 308621 - Last Review: December 11, 2006 - Revision: 4.6