Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a NULL date into a stored procedure
Message
From
05/09/2007 11:24:13
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
05/09/2007 09:43:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01252330
Message ID:
01252449
Views:
22
>>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?
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform