如上所述
DataSet
ds
ds
第一個文件WithoutSchema
<?xml version=
<NewDataSet>
<Region>
<RegionID>
<RegionDescription>Eastern </RegionDescription>
</Region>
<Region>
<RegionID>
<RegionDescription>Western </RegionDescription>
</Region>
<Region>
<RegionID>
<RegionDescription>Northern </RegionDescription>
</Region>
<Region>
<RegionID>
<RegionDescription>Southern </RegionDescription>
</Region>
</NewDataSet>
RegionDescription上的閉合標記在頁面的右邊
WithSchema
<?xml version=
<NewDataSet>
<xs:schema id=
xmlns:xs=
xmlns:msdata=
<xs:element FTEL=
<xs:complexType>
<xs:choice maxOccurs=
<xs:element FTEL=
<xs:complexType>
<xs:sequence>
<xs:element FTEL=
msdata:AutoIncrement=
msdata:AutoIncrementSeed=
type=
<xs:element FTEL=
type=
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<Region>
<RegionID>
<RegionDescription>Eastern </RegionDescription>
</Region>
<Region>
<RegionID>
<RegionDescription>Western </RegionDescription>
</Region>
<Region>
<RegionID>
<RegionDescription>Northern </RegionDescription>
</Region>
<Region>
<RegionID>
<RegionDescription>Southern </RegionDescription>
</Region>
</NewDataSet>
注意
From:http://tw.wingwit.com/Article/program/net/201311/15028.html