More or less like this, but a bit different...
x = !Convert.IsDBNull(dataRow["X"]) ? Convert.ToString(dataRow["X"]) : null;
No comments:
Post a Comment