Hello

I have an array of 50 text strings, is there any way that i can easily link each item in the array to a different text box on the screen? and then to have the text boxes auto update if the array changes?

Thanks Simon

Recommended Answers

All 2 Replies

Declare an array of objects of TextBox class.

Hello

I have an array of 50 text strings, is there any way that i can easily link each item in the array to a different text box on the screen? and then to have the text boxes auto update if the array changes?

Thanks Simon

I know that you could easily do it in vb6, but am not sure about .net
but i am sure that there is a way of setting textboxes up in arrays. And you could set up a routine for when the string changes set textbox array to the string array.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.