SqlParameter.IsNullable
C#
2
Posts
1
Posters
0
Views
1
Watching
-
I am trying to insert a null value into a parameter value for a stored procedure. I set the IsNullable property to true, but it still will not execute the stored procedure unless I put something other than a null. Any ideas? Thanks.
-
I am trying to insert a null value into a parameter value for a stored procedure. I set the IsNullable property to true, but it still will not execute the stored procedure unless I put something other than a null. Any ideas? Thanks.
Nevermind, I just needed to set the parameter value to DBNull.Value instead of null.