Exit inner for each row from 2 nested for each row

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

@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

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

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
}
}

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

Main.xaml (43.6 KB)

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