You can create datasets on the fly, so you can populate it as you wish from
your "computers" code. My first choice would be to use a dataset as it
binds to most controls, and experience has shown it to be easy to consume in
web service clients.
--
Regards
John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------
"jnc" <j_**********@yahoo.co.uk> wrote in message
news:44**************************@posting.google.c om...
Hi As you can tell I'm a newbie to dotnet and webservices.
I need to create a webservice to return a list a computers on my
network, I have the code to generate the list of computers but was
wondering if anyone had any advice on what the return type of the
function should be. I want to return type that is farily easy to
consume ( I was thinking of using a dataset) has anyone got any
thoughts on this?
Cheers....Jim