This suggests that "you can use the DBNull.Value property to explicitly assign a DBNull object value to the field. However, most data providers do this automatically." I saw someone else's code wherein there was some sanity checking to ensure that DBNull.Value was passed in lieu of just plain Jane null whenever applicable. I guess this safeguard was needed in that case.
No comments:
Post a Comment