J
James Hancock
I've got a Command that has a parameter. Sometimes it will be a
uniqueidentifier (Guid) but there is also the case of looking for the column
being null.
How do I tell the Parameter that I'm looking for NULLs? If I set .Value =
null I get an error, if I set it to DBNull.value I don't get a valid result.
If I set it to SQLType.SQLGuid.Null I don't get a valid result.
Thanks!
James Hancock
uniqueidentifier (Guid) but there is also the case of looking for the column
being null.
How do I tell the Parameter that I'm looking for NULLs? If I set .Value =
null I get an error, if I set it to DBNull.value I don't get a valid result.
If I set it to SQLType.SQLGuid.Null I don't get a valid result.
Thanks!
James Hancock