¸ßÊÖ½ø,xmlÓÃdataset¶Á³öxml,°óÔÚgridview.
xmlÎĵµ£º
<?xml version="1.0" encoding="utf-8" ?>
<product>
<category pid="1" title="²úƷչʾ">
<xmlPath src="animals.xml"/>
<image src="asset/animals/categoryImage.jpg"/>
<description> <![CDATA[²úÆ·½éÉÜsdafafsfasdfsadfasfsfÆ·ÂÀÁº]]> </description>
</category>
<category pid="2" title="²úƷչʾ">
<xmlPath src="animals.xml"/>
<image src="asset/animals/categoryImage.jpg"/>
<description> <![CDATA[²úÆ·½éÉÜsdafafsfasdfsadfasfsfÆ·ÂÀÁº]]> </description>
</category>
</product>
ÒªÇóÓÃdataset¶Á³öxmlÎĵµµÄÄÚÈÝ,°ó¶¨µ½gridview,ɾ³ý¸üвÙ×÷..
pid title xmlpath imageUrl descriptin
1 ²úƷչʾ animals.xml asset/animals/categoryImage.jpg ²úÆ·½éÉÜsdafafsfasdfsa¡¡ ÕâÖÖ¸ñʽ
Ïà¹ØÎÊ´ð£º
ÇëÎʸ÷λ´óʦ£¬ÎÒÏÖÔÚÐèÒª½«XMLµÄÊý¾ÝʵʱµÄ´æÈëµ½Êý¾Ý¿âÖУ¬ÎÒÊÇÓÃasp±àµÄ³ÌÐò£¬´óÁ¿Ãǰïæ·ÖÎö һϣ¡£¡£¡
ÏÂÃæÊÇÎÒµÄXMLÎļþ´úÂë
XML code:
<?xml version="1.0" encoding="utf-8"? ......
ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É
XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0&qu ......
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
ÈçÌâ¡£
webServiceµÄº¯ÊýÈçÏ£º
VB.NET code:
Public Function RecordSetBySql(ByVal Sql As String) As XmlDataDocument
Dim xRs As ADODB.Recordset
Dim cmd As ADODB.Command
......
ÎÒµÄXMLÅäÖÃÎļþÀïÃæÓÐÖÐÎÄ×Ö·û,Ò²ÓÐÀàËÆÓÚ=~@!ÕâÖÖ×Ö·û,encodeingÉèÖÃΪgb2312 ºÍ unicode,unicode UTF-8,½á¹û¶¼Ìáʾϵͳ´íÎó,,,Èç¹ûÉèÖÃΪgb2312µÄ»°,È¥µô=!@ÕâÖÖ×Ö·û,Ò»Çж¼Õý³£.
ÓÉÓÚÎ ......