FAQ/ProcessDataSet.md
... ...
@@ -47,7 +47,7 @@ public override void ProcessDataSet(DataSet ds, string reportPart)
47 47
}
48 48
// There can be only one column with a specific name,
49 49
// so we can leave the cycle as soon as we find it
50
- Exit For
50
+ break;
51 51
}
52 52
}
53 53
}
... ...
@@ -70,7 +70,7 @@ Public Overrides Sub ProcessDataSet(ByVal ds As DataSet, ByVal reportPart As Str
70 70
Next
71 71
'There can be only one column with a specific name,
72 72
'so we can leave the cycle as soon as we find it
73
- break;
73
+ Exit For
74 74
End If
75 75
Next
76 76
End If