J
Jim Andersen
I am using Microsoft.ApplicationBlocks.Data (v 2.0.0.0).
I have this parameter array I pass to a stored procedure. The last one is an
output parameter.
So I did this:
Line 1: arParms(8) = New SqlClient.SqlParameter("@MyParam", SqlDbType.Int,
4, ParameterDirection.Output)
Line 2: arParms(8).Direction = ParameterDirection.Output
When I debug, after line 1, I can see that it is now an Input Parameter.
When I debug after Line 2, it is an output parameter.
Whats wrong with line 1 ?
/jim
I have this parameter array I pass to a stored procedure. The last one is an
output parameter.
So I did this:
Line 1: arParms(8) = New SqlClient.SqlParameter("@MyParam", SqlDbType.Int,
4, ParameterDirection.Output)
Line 2: arParms(8).Direction = ParameterDirection.Output
When I debug, after line 1, I can see that it is now an Input Parameter.
When I debug after Line 2, it is an output parameter.
Whats wrong with line 1 ?
/jim