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. ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.