multiline TextBox Control

  • Thread starter Thread starter andreas.schroeck
  • Start date Start date
A

andreas.schroeck

Hallo,

I realy need help!
I just started programming with .Net Windows Forms, and i tried to bind
a System.String [] to a multiline TextBox to display all elements of
the array at once!! I always got the same result. The first element of
the array gets displayed and the other not! Why ?? Is it possible to do
this or is it only possible to display one element after the other (-->
position += 1)??
 
Hallo,

I realy need help!
I just started programming with .Net Windows Forms, and i tried to bind
a System.String [] to a multiline TextBox to display all elements of
the array at once!! I always got the same result. The first element of
the array gets displayed and the other not! Why ?? Is it possible to do
this or is it only possible to display one element after the other (-->
position += 1)??

It is working the way it is suppose to. The textbox is not ment to bind
many object to it, it is built to bind one object to it. The listview
would do you want. Otherwise, loop through your array and build one
string and pass that to the textbox.

Chris
 
Back
Top