>>>I am getting a StrongTypingException when I try to pass a NULL date into my SPROC. What is the preferred way of doing this? I know I can set the default value in the SPROC and just not pass the parm, but is there a way to specifically pass a NULL date?
>>>
>>>Thanks!
>>
>>dim myDate as Nullable(of DateTime)
>>
>>should work in VB but I'm not sure.
>>
>>Cetin
>
>So I can pass a nullable datetime variable as a parameter into my SPROC?
Probably we two are thinking of very different things saying SPROC. Actually I don't know what SPROC means and assumed it was a method wrapping calls to SQL server stored procedures. If so then yes. Otherwise not populating it at all would default to null.
Cetin