Hi,
I have an array which stores the ID of the textbox control, and the value it has.
Eg. txtSurname,Smith|txtForename,John|txtAge,22|txtCity,London
What I am currently doing is looping around this array and extracting the values. However, how do I programmatically set the values?
eg. txtSurname.Text = "Smith"
The string holds "txtSurname" - how do I target this control and access it's properties (ie. setting the text).
Any help appreciated.
Thanks,
pd123
I have an array which stores the ID of the textbox control, and the value it has.
Eg. txtSurname,Smith|txtForename,John|txtAge,22|txtCity,London
What I am currently doing is looping around this array and extracting the values. However, how do I programmatically set the values?
eg. txtSurname.Text = "Smith"
The string holds "txtSurname" - how do I target this control and access it's properties (ie. setting the text).
Any help appreciated.
Thanks,
pd123