Exit inner for each row from 2 nested for each row


#1

Hi all,

I have 2 nested for each row and I want to exit from the inner one to the outer once once I am done with the inner one. How do I go about doing it?

I tried using break but it doesn’t work


#2

@4ndyg0h ,once the inner for loops execution is completed,It automatically execcutes the outerforloop.Is it not executing the outerloop in your scenario?

Thanks,
Sreekanth.k


#3

yeah it never execute the outerloop but execute the innerloop. As i have a if else condition in the inner for each row


#4

i have 2 for each row loop

first for each row loop {
—Do necessary stuff-----
second for each row loop {
—Do necessary stuff-----
if else statement
}
}


#5

Provide xaml files so that I can check and let you know


#6

Main.xaml (43.6 KB)


#7

what is exactly problem in it. will u say in detail?