Version

Working with XSD Schema

XML Schema Definition (XSD) is an increasingly popular means of describing the structure and constraints of an application’s data model. XSD schema are defined via an XML-based language, which enables the schema to achieve a high degree of platform independence and human readability. The WinGrid™ control has in-depth support for enforcing the constraints imposed by XSD schema. The primary benefit of this functionality is that the bulk of the data validation burden can be lifted from the shoulders of the developer and handled by the WinGrid control. This is especially important in situations where the XSD schema change throughout the life of an application. Since the WinGrid control reads in the schema at run time, if the schema change between executions of the application, there is no need to modify and recompile the application to handle new validation requirements. In this sense, the XSD file can be seen as a configuration file for the WinGrid control.

This section contains a multi-part tutorial that explains how to use the XSD support provided by the WinGrid control.