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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only