G
Guest
Hello!
I've got a little problem here. I'm sending an array with customers to the
client who takes care of the array prints it out on the screen. The problem
is that only the last element is being printed out and not the whole array.
the return statement from the proxy looks like this:
return (Person[])ar.ToArray(typeof(Person));
ar is an ArrayList that is filled with customers.
the client side looks like this:
Person[] ar= cl.getData();
// the return statement is landing in ar.
foreach(Person pers in ar)
{
mLstLista.Items.Add(pers.Fnamn);
}
regards Johan
I've got a little problem here. I'm sending an array with customers to the
client who takes care of the array prints it out on the screen. The problem
is that only the last element is being printed out and not the whole array.
the return statement from the proxy looks like this:
return (Person[])ar.ToArray(typeof(Person));
ar is an ArrayList that is filled with customers.
the client side looks like this:
Person[] ar= cl.getData();
// the return statement is landing in ar.
foreach(Person pers in ar)
{
mLstLista.Items.Add(pers.Fnamn);
}
regards Johan