Click here to Skip to main content
15,749,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Can any one has any idea that how to pass the array to webservices and return the result to the UI.

Thanks in advance.......

Web services implement their own protocols, which can accept any data type, including arrays.

The best way to send arrays from a Web Service to UI is as JSON.
Share this answer
Try using the DataContractSerializer.

It will allow you to pass an array of objects.
Share this answer
rp786 26-Jun-12 7:18am    

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900