I can return a single value in my webservice, but I can't figure out how to return multiple rows. I have an ILIST collection of the data from my database.
+1
A:
If the method of your web service returns arrays of objects, that should do the trick. So basically you just have to convert that IList to an array and, depending on what type of objects you have in the IList, fill some standard objects with the data to be returned.
Dante
2009-11-24 18:33:29
I was missing the cast from ILIST to LIST. -Thanks
Tony Borf
2009-11-24 18:43:12
A:
Create a class that can hold all the rows, then return that class
Nick Spiers
2009-11-24 18:38:58