G
greg
I have a windows utility that generates .Net procedure call wrappers.
Have used for DotNet 1.0 and DotNet 1.1
This code fails at the DeriveParameters call, saying can't find
storeprocedure
cmd = New SqlCommand(SpName, DirectCast(Connect(), SqlConnection))
cmd.CommandTimeout = Me.CommandTimeout
Dim DiscoveredParameters() As SqlParameter
cmd.CommandType = CommandType.StoredProcedure
SqlCommandBuilder.DeriveParameters(cmd)
But this works perfectly against same database and proc with DotNet 1.1
Thanks
Have used for DotNet 1.0 and DotNet 1.1
This code fails at the DeriveParameters call, saying can't find
storeprocedure
cmd = New SqlCommand(SpName, DirectCast(Connect(), SqlConnection))
cmd.CommandTimeout = Me.CommandTimeout
Dim DiscoveredParameters() As SqlParameter
cmd.CommandType = CommandType.StoredProcedure
SqlCommandBuilder.DeriveParameters(cmd)
But this works perfectly against same database and proc with DotNet 1.1
Thanks