Hello. I've come from a c++ background and learning VB.NET has been confusing for some reason cos of this.
Anywho, I have a 2d array of textboxes (gridtextbox(i,j)) that are generated in the load procedure and work perfectly. However when I try to code the click event that calculates the sum and average of each row of the grid the gridtextbox array tells me it's undeclared despite the Me.Controls.Add(gridTextBox(i, j)) line that appears in each loop during the textbox array creation.
I just can't get my head around VB and cant find useful sites anywhere plus our text is hopeless so from the information above can anyone tell me what i might need to do? If more information is needed just let me know.
Thanks for the help!
Anywho, I have a 2d array of textboxes (gridtextbox(i,j)) that are generated in the load procedure and work perfectly. However when I try to code the click event that calculates the sum and average of each row of the grid the gridtextbox array tells me it's undeclared despite the Me.Controls.Add(gridTextBox(i, j)) line that appears in each loop during the textbox array creation.
I just can't get my head around VB and cant find useful sites anywhere plus our text is hopeless so from the information above can anyone tell me what i might need to do? If more information is needed just let me know.
Thanks for the help!