Tell me please is this is correct way to check NULL in DataRow if need to return a string
Convert.ToString(row["Int64_id"] ?? "")
Or should be like check with DBNull.Value.
Need to so much more smaller than
if(row["Int64_id"] != DBNull.Value){...}else if{}
Check if the data column is not null with DataRow.IsNull(string columnName)
We have created an extension class that helps in these kinds of situations.
You can use is as follows: