Here is my code:
stringValue = microData.BoolValue.HasValue ? "True" : "False";
What I am trying to do is assign a stringvalue based on a Boolvalue.
if BoolValue has a value I like to do the following:
Assign stringValue = “True” if BoolValue is true.
Assign stringValue = “False” ib BoolValue is false.
If Boolvalue does not have a value, assign it to null.
What i have above does not seem to work.
Try this: