C# Using XSD schema as meta data for forms
I want to create a bunch of data entry screens in an ASP.NET application based on a bunch of XSD schemas.
Are there any tools that can be used to do any of the following 1) Read in an XSD schema and generate C# busines objects 2) Read in an xsd schema and generate form controls开发者_开发知识库.
Yes, at least for #1. Check out xsd.exe. It is included in the framework.
See this page on MSDN for more info.
For #2 you could check out XForms (http://www.w3.org/MarkUp/Forms/, http://en.wikibooks.org/wiki/XForms/Load_from_XML_Schema)
精彩评论