Issue in getting result in String.IsNullOrEmpty()



I am using if condition in for each row to check for empty values. If the cell value is null or empty, it should execute true, else it must execute false.
But even the value is empty, the loop moves to false statement.

Please let me know where i am making mistake.


Hi @Selva,
Please check this if you are trying to check if the string is null or not.