XML、DataSet、DataGrid结合二
<?xml version="1.0" standalone="yes"?>
<advertisements>
<xsd:schema id="Advertisements" targetNamespace="" xmlns=""
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="Ad">
<xsd:complexType content="elementOnly">
<xsd:all>
<xsd:element name="ImageUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="NavigateUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="AlternateText" minOccurs="0" type="xsd:string"/>
<xsd:element name="Keyword" minOccurs="0" type="xsd:string"/>
<xsd:element name="Impressions" minOccurs="0" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="Advertisements" msdata:IsDataSet="True">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element ref="Ad"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<ad>
<imageurl>aspcn_bbs1.gifc</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>bbs</keyword>
<impressions>50</impressions>
</ad>
<ad>
<imageurl>aspcn_bbs3.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>bbs</keyword>
<impressions>50</impressions>
</ad>
<ad>
<imageurl>aspcn_bbs2.gifc</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>bbs2</keyword>
<impressions>50</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</AlternateText>
<keyword>asp/Keyword>
<impressions>80</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl>http://www.chinabs.net</navigateurl>
<alternatetext>中国BS网</alternatetext>
<keyword>asp</keyword>
<impressions>98090</impressions>
</ad>
<ad>
<imageurl>http://asp.6to23.com/jefenet/images/logo.gif</imageurl>
<navigateurl></navigateurl>
<alternatetext>中国BS网</alternatetext>
<keyword>asp</keyword>
<impressions>98090</impressions>
</ad>
<ad>
<imageurl>http://wwwaspcn.com</imageurl>
<navigateurl>http://</navigateurl>
<alternatetext>asp</alternatetext>
<keyword></keyword>
<impressions></impressions>
</ad>
</advertisements>