Hi. Is it possible to know how to return an ArrayList from a Webmethod.
This is the code I've done but it doesn't work
[WebMethod]
public ArrayList testing()
{
ArrayList al = new ArrayList();
al.Add("qqq");
al.Add(2);
al.Add("eee");
al.Add(3);
al.Add("rrr");
al.Add("*");
return al;
}
I also tried :
[WebMethod]
public ArrayList testing()
{
ArrayList al = new ArrayList();
al.Add("qqq");
al.Add(2);
al.Add("eee");
al.Add(3);
al.Add("rrr");
al.Add("*");
return al;
}
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