G
Guest
Hi, I'm using .NET Framework 1.1 and SQL Server 2000.
I have a few "select" stored procedure that each contain a single OUTPUT
parameter in addition to the typical return parameter. When I use
SqlCommandBuilder.DeriveParameters, to dynamically populate the parameters in
my select command, the _direction of the OUTPUT parameter is returned as
"InputOutput" instead of "Output", which causes errors when I try to run the
command (i.e. when doing a fill) since an input parameter is expected.
What could be causing this to happen, and is there another solution short of
hard-coding the parameters?
I have a few "select" stored procedure that each contain a single OUTPUT
parameter in addition to the typical return parameter. When I use
SqlCommandBuilder.DeriveParameters, to dynamically populate the parameters in
my select command, the _direction of the OUTPUT parameter is returned as
"InputOutput" instead of "Output", which causes errors when I try to run the
command (i.e. when doing a fill) since an input parameter is expected.
What could be causing this to happen, and is there another solution short of
hard-coding the parameters?