I have a string property that may or may not be null.
I am passing it to the SP using this call:
db.AddInParameter(InsertMessageDetailCommand, "MyParam", System.Data.DbType.String, this.myParam);
the field is defined in the SP like this:
@MyParam nvarchar(50)
How can I change the SP to allow for null values, and if param value is null insert a null into the database table later in the SP?
Thanks