Zion Posted December 13, 2003 Posted December 13, 2003 using: c# and asp.net please help me, i've been searching for this for over 3 days now. Quote
*Experts* Bucky Posted December 13, 2003 *Experts* Posted December 13, 2003 Depending on what's stored in the ArrayList, the code will be different for casting each object and getting the text to put into the textbox. The following code will always work, but it may not work the way you want if the objects in the ArrayList are not types that convert to a user-friendly string in the ToString function. foreach (object o in ArrayList1) { TextBox1.Text += o.ToString() + System.Environment.NewLine; } Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Zion Posted December 13, 2003 Author Posted December 13, 2003 it's just text that is stored in my arraylist, so i guess it should work :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.