Home | Articles|Namespace|Interview Questions|Tools|Jobs|Projects|Community
Asp.net Tutorials

»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books

»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects

»Competition
Community
Winners
Prizes
Write For Us
Members

»Other Resources
Links
Dotnet Resources


Forums»C# .NET »



listbox

how to move all items in a list box from one to the other (and clear those items from the former listbox)using c#
posted by:anonymous on 4/23/2007 12:00:00 AM
Something like this...

//get max index of original listbox (int lb_max = listBox1.items.count();

//for loop:
//---Website won't let me put for loop code here ---
//{
// listBox2.Items.Add(listBox1[i].Text);
//}
posted by:Jim  on 5/1/2007 12:00:00 AM
© 2008 dotnetwatch.com -- Privacy policy

Website Design & Internet Marketing by Shivam