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
ok, I just throught there might have been a If (control is not checkbox). An else statement it will be.
thanks
0
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
}
}