2
Answers

COntinue From Main Loop

Kunal Vaishya

Kunal Vaishya

12y
1.2k
1
Dear Friends ,


I have a nested loop of Do Loop in vb.Net


Like


Do
        Do
                'Contunue Do 'Main Loop
        Loop
Loop



In Do Loop i want to go to next record from main do loop any one can tell me about this please avoid GoTo Statement



Answers (2)
0
Sal Rosales
NA 9 0 16y

ok, I just throught there might have been a If (control is not checkbox). An else statement it will be.

thanks

0
Niradhip Chakraborty
NA 6.5k 527k 16y
foreach (Control control in Controls)
{
      if (control is CheckBox)
      {
         //  you know code here for control which is checkbox
      }
      else
       {
        //  you know code here for control which is not checkbox
       }
}