Skip to Main Content
Microsoft® .NET Compact Framework Kick Start
book

Microsoft® .NET Compact Framework Kick Start

by Erik Rubin, Ronnie Yates
August 2003
Beginner to intermediate content levelBeginner to intermediate
600 pages
12h 57m
English
Sams
Content preview from Microsoft® .NET Compact Framework Kick Start

Consuming a Web Service That Uses a DataSet

Thus far, our XML Web service has returned custom data structures. The .NET Compact Framework provides the ability to transfer even more complex data, such as the DataSet. Although the .NET Compact Framework does not support a typed DataSet, we will see that you can work around this by using a regular DataSet.

Sending and receiving a regular DataSet is done exactly like sending a custom data structure or a simple piece of data, such as a string. The Web method simply needs to accept or return a System.Data.DataSet object. In our first DataSet aware XML Web service, we send the complete Quotes table down to the client. This would allow the application to go offline and still be able to display quotes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® .NET Compact Framework (Core Reference)

Microsoft® .NET Compact Framework (Core Reference)

Andy Wigley, Stephen Wheelwright, Robert Burbidge, Rory MacLoed, Mark Sutton
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 0672325705Purchase book