Click to See Complete Forum and Search --> : Generating a Typed DataSet from an XSD-file in VS 2005


d00_ape
July 5th, 2006, 02:07 AM
How do I create a DataSet from an XSD file. I’ve read about some “Generate DataSet” option in Visual Studio but I cant find it.

Does it exist external tools for this too?

Shuja Ali
July 5th, 2006, 02:24 AM
You would be interested in reading this
http://blogs.msdn.com/smartclientdata/archive/2005/06/16/XsdDesigners.aspx

jhammer
July 5th, 2006, 07:10 AM
In VS 2005 they changed some stuff from 2003 version. The Generate Dataset do not work any more.

Here is how to generate the dataset from an xsd file in 2005:

1. Select the xsd file in the solution explorer
2. At the Property Grid (F4) find the CustomTool property and type MSDataSetGenerator
The typed dataset will be generated for you.