Not row(count).ToString.IsNullOrEmpty(row(count).ToString)

Not row(count).ToString.IsNullOrEmpty(row(count).ToString)

Please help I don’t understand what this means

1 Like

This statement seems to be checking to see if a row is empty or not. We can break this down piece by piece.

row(count).ToString -> gives a specific element/column in a row
row(count).ToString.IsNullOrEmpty("") -> Checks to see if that element/column is empty/null
Not -> inverse of the entire statement

Putting it together: As long as that specific column in the row is not empty/null, do the following set of activities. The count will most likely iterate through all of the columns inside of a row and check to see if they are null/empty and do certain actions afterward.