Is it a way to set the text in a textbox from a loop? Bad Explained, heres an example
there will all 11 variables change, but I have a program that creates textboxes with the same name except for the last char that is a integer variable.
This doest work
If anyone understands my problem, plz help me out, I need to convert the value in many many textboxes to variables so I rly just cant type every line
VB.NET:
Dim id(10) as string
For h As Integer = 0 To 10
id(h) = "hello" & h
Next
there will all 11 variables change, but I have a program that creates textboxes with the same name except for the last char that is a integer variable.
VB.NET:
dim id(50) as string
dim idv(50) as integer
For h As Integer = 0 To 20
id(h) = namn(h).Text 'error on the textbox
idv(h) = coin(h).Text 'error on the textbox
Next
If anyone understands my problem, plz help me out, I need to convert the value in many many textboxes to variables so I rly just cant type every line