I have this code
foreach (DataRow row in DTgraph.Rows)
{
String UserName = row["UserName"].ToString();
String LoggedState = row["LoggedState"].ToString();
String InteractionId = row["InteractionId"].ToString();
String InteractionType = row["InteractionType"].ToString();
}
how to check if row["something"]null is value?
I tried to run the code, and null values become "" (empty).
I need to check if they are null.
Now I think this is a stupid question, but my problem is what I am doing ToString(), so I thought that null becomes nulleither nullor nullor or empty?
thank
source
share