Aaron Li's Blog

Write it down before I forget

  Home  |   Contact  |   Syndication    |   Login
  30 Posts | 0 Stories | 21 Comments | 1 Trackbacks

News

Google

Archives

Other's Idea

XML Schema And ASP.NET (1)

 

Visual Studio provides 2 templates for XML schema, one is XML Schema, and another one is Data Set.

 

Then when directly use XML Schema template? And when Data Set one?

 

As we’ve known, an XML schema is used to describe the data contained in XML file(s). XML Schema template generates a file for creating a schema for XML documents; Data Set does a file for creating an XML schema with DataSet classes.

 

DataSet is a component of the ADO.NET architecture, and it is one of the most fundamental and widely used data objects in the .NET framework. It is very easy to save the contents in a Dataset to an XML file or populate a Dataset from an XML file; as a result, if the data in the XML document are going to be used by other tiers inside an ASP.NET web application, or other ASP.NET applications, to use the Data Set template to create the XML schema is a great option. If the data in the XML document are going to be distributed to systems that are not in ASP.NET, then choose the XML Schema template.

posted on Friday, February 16, 2007 10:34 PM

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: