Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copyto array problem
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01113072
Message ID:
01113084
Views:
17
There seems to be something funny with using that copyto() and arraylist:

anyway this was my work around, works ok, not sure if its the best way to do it.

string[] Items = new string[ListBox2.Items.Count];
int i=0;
foreach (ListItem Item in ListBox2.Items)
{
Items.SetValue(Item.Text.Trim(), i);
i+=1;
}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform