Hi There,
I want to send a null value to the store procedure in C#, but I just can't get that to work, anybody have some idea.
The field type is Guid, so I used the following code.
So how do I send a null to a store proceudre?Code:DataContext.StoreProc null - Gave me error. DataContext.StoreProc SqlGuid.Null.Value - Gave me error. DataContext.StoreProc SqlGuid.Parse("").Value - Gave me error DataContext.StoreProc SqlGuid.Parse(null).Value - Gave me error
Any idea?
Regards
PlayKid




Reply With Quote