Link to home
Start Free TrialLog in
Avatar of brassmon
brassmonFlag for United States of America

asked on

Arraylist to textbox in web form

I am trying to figure out how to copy an arraylist to a textbox in a web form... I figured out how to do it with a windows form using textbox.AppendText in a foreach, but I cannot use AppendText in the web form...  thanks for the help!
ASKER CERTIFIED SOLUTION
Avatar of Göran Andersson
Göran Andersson
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
something like this:

StringBuilder sb = new StringBuilder();
foreach (object o in yourList)
{
      sb.Append(o);
      sb.Append(" ");
}
textbox.Text = sb.ToString();
Sorry, not refreshed...