O'Reilly logo

Microsoft® .NET Compact Framework (Core Reference) by Mark Sutton, Rory MacLoed, Robert Burbidge, Stephen Wheelwright, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Web Service That Returns a Dataset

The previous sample returned a single piece of information. In practice, you might want to return more complex and structured data. Visual Studio .NET provides support for XML Web services that pass data in a dataset.

Although the .NET Compact Framework does not support typed datasets and also lacks support for the Merge, Clone, and some other methods of the DataSet class, workarounds are available for consuming an XML Web service that uses a typed dataset as a return type or as a parameter type.

Tip

If you are writing an XML Web service specifically to connect a smart device application to the enterprise, it is helpful to provide methods that do not use typed datasets as a return type or as a parameter type. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required