I created 10 textboxes which are entitled Txtb_1, Txtb_2.... and a table with 10 values. For example Dim table() as integer = {0,1,2,3....}
The first 5 textbox will contain a value as an integer. The other 5, the value will be incremented by x.
I want to show on screen the comparison before and after.
All my variables are declared as string for Txtb_1.,Txtb_2 etc.
For the variable Txtb_6 to Txtb_10, is it possible to put them in a for loop and change only the number in the name of the variable?
What i want is to be able to simplify my task.
For example :
for i = 6 to 10
Txtb_**i**.text = table(x)
next
So the loop will go from Txtb_6 to Txtb_10, reducing the coding.