What I want is to convert a string variable to a control name.
I have created a textbox named "textbox1"
Dim a As String = "textbox"
Dim b As Integer = 1
Dim c As String = a & b.ToString 'so c = "textbox1"
c.Text = "succeeded!!!"
This code is not working.
What is the solution for my wishes?
I have created a textbox named "textbox1"
Dim a As String = "textbox"
Dim b As Integer = 1
Dim c As String = a & b.ToString 'so c = "textbox1"
c.Text = "succeeded!!!"
This code is not working.
What is the solution for my wishes?