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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.