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{}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…