How to break while loop

hii
When we are reading the data from excel which contains some empty entries which we are reading, and using for each to check to read the data from excel and while in co-ordination with that so how we can break the while loop for the empty entry condition.

Thanks

@Rakhi11
Inside the loop check for the string with String.IsNullOrEmpty() in a IF statement, then you can use Break Activity to break the for each loop.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.