Using XML to Design a DataSet

The Visual Studio IDE includes a feature called the Data Designer that is available only when working on projects that target the desktop .NET Framework. The Data Designer is a powerful graphical utility that makes it easy to design a DataSet's schema and populate it with data. The Data Designer can spit out code for you, which spares the developer from having to programmatically build DataSets and populate them. Unfortunately, this tool is not available when working with the .NET Compact Framework.

If you don't want to write code in C# or Visual Basic to set up your DataSet, you can instead describe your DataSet with XML schema. You also write XML to populate your DataSet with tables. The information previously ...

Get Microsoft® .NET Compact Framework Kick Start 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.