O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q1:What is the best way to create a typed DataSet?
A1: Two paths exist for you to generate typed DataSets. One path is the manual approach using the XSD tool. The other path is dynamically using the Generate Dataset option in Visual Studio .NET. Both are equal in their results.
Q2:Should I code my own XSD schema files for datasets?
A2: You can do this, but remember, this XML schema must comply to the standard XML schema definitions as described at http://w3c.org. It is much easier to have Visual Studio .NET, use the WriteXmlSchema method, or use the XSD tool to generate this for you. You can then edit this slightly to suit your needs.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required