This may sound really obvious, but is there a way to change the text of
different certain label depending on an integer? For example, here is
the long hand (using the default label1, label2 etc) :
Dim myInteger as integer = 15
Select Case myInteger
Case 1
label1.text = "This was changed"
Case 2
label2.text = "This was changed"
Case 3 ...
End Select
There must be a better way - I was thinking something along the lines
of the eval() statement in javascript etc? Or something completly
different?
Thanks