I am trying to use the solution given here ->
C# ADO.NET: nulls and DbNull -- is there more efficient syntax开发者_如何学JAVA?
But I am working with an int.
Thanks
int? myNullableInt = null;
myIntParameter.Value = myNullableInt ?? (object)DBNull.Value;
Substitute int?
for DateTime?
then...
精彩评论