S
Steve
Hello-
I have numerous variables called varNameX (where X is equal to a
number from 0 to a known number "n").
Using VB.NET, I would like to iterate through all of these variables
to run comparisons.
Example:
For x as Integer = 0 to N
If varName(x).Text = "Some Text" Then
boolFlag = True
End If
Next
Is there a way to "dynamically" iterate through a collection of
variables? If so, what is the suggested way to do this? (An example
would be greatly appreciated).
Steve
I have numerous variables called varNameX (where X is equal to a
number from 0 to a known number "n").
Using VB.NET, I would like to iterate through all of these variables
to run comparisons.
Example:
For x as Integer = 0 to N
If varName(x).Text = "Some Text" Then
boolFlag = True
End If
Next
Is there a way to "dynamically" iterate through a collection of
variables? If so, what is the suggested way to do this? (An example
would be greatly appreciated).
Steve