I have over 20 text boxes set up and what I'm trying to do is take the value out of each one of them and place it an array of values (structure). Each of my text boxes has a name of txtScore00, 01, 02 and so on and I'm trying to loop them with a counter and use the counter as numbers in my variable name. I found this topic Concatenate Variable Names in VB but i still cant get it to work. Any suggestions? My code populating the array:
For intCountOne = 0 To aStudent.Length - 1
For intCountTwo = 0 To aStudent(intCountOne).decGrade.Length - 1
aStudent(intCountOne).decGrade(intCountTwo) = Me.Controls("tbScore" & intCountOne & intCountTwo).Text