I'm at a dead end. Why won't the first and fourth rows be null?

Editing after the answer:
In the interest of others, the desired behavior will be created using:
boolFoo ? null : Convert.ToString(DBNull.Value)
This works because Convert.ToString()and nullimply a common type string.
source
share