Hi,
You could also do this by using a single dimension array and use the element number in the way you want to use the variable name. e.g
VB Code:
Dim arrTest() As Integer = {0, 1, 2, 3, 4, 5} TextBox1.Text = "3" MessageBox.Show(arrtest(Integer.Parse(TextBox1.Text)).ToString)




Reply With Quote