flexͨ¹ýHTTPService×é¼þ¶ÁÈ¡¸´ÔӽṹµÄxmlÎļþ
ŪÁËÁ½Ì죬ÖÕÓڰѸ´ÔÓµÄxmlÎļþµÄÊý¾Ý¸ù¾Ý×Ô¼ºµÄÒªÇó¶Á³öÀ´£¬ÏÔʾÔÚÒ³ÃæÉÏÁË¡£flexͨ¹ýHTTPService×é¼þ·¢ËÍÇëÇ󣬶ÁÈ¡xmlÎļþÖÐÊý¾Ý£¬ÓÃxmllistcollection´æ´¢xmlÖÐijһ²¿·ÖÊý¾Ý£¬²¢°ó¶¨ÔÚgridview¿Ø¼þÉÏ¡£
xml£¬xmllist£¬xmllistcollectionÖÐÖ»ÓÐxmllistcollection¾ßÓÐÐ޸ĸüÐÂÊý¾ÝµÄ¹¦ÄÜ¡£xmllistcollectionÊÇxmllistµÄ¼¯ºÏ£¬¾ßÓÐsourceÊôÐÔ£¬¿ÉÒÔ½«Ä³Ò»¸öxmllist¸½¸øxmllistcollectionµÄsourceÊôÐÔ¡£
xml´úÂ룺
<?xml version="1.0" encoding="gb2312"?>
<c>
<code>200</code>
<reportid>421</reportid>
<labid>2</labid>
<labname>Å£¶ÙµÚ¶þ¶¨ÂÉ</labname>
<startdate>2010-1-13 21:54:58</startdate>
<submitdate>2010-1-13 21:55:20</submitdate>
<status>1</status>
<labscore>98.63762</labscore><
lastscore>98.63762</lastscore>
<totalscore>0.0</totalscore>
<username>admin</username>
<result>
<result>
<data>
<sheetxy id="fa">
<sheet column1="Á¦F" column2="¼ÓËÙ¶Èa">
<data x="0" y="0"/>
<data x="1" y="1"/>
<data x="2" y="2"/>
<data x="3" y="3"/>
<data x="4" y="4"/>
</sheet>
</sheetxy>
<sheetxy id="ma">
<sheet column1="С³µÖÊÁ¿" column2="¼ÓËÙ¶Èa">
</sheet>
</sheetxy>
</data>
</result>
</result>
<userinput></userinput>
</c>
Ö÷ÒªµÄmxml´úÂ룺ÒòΪÕâÊÇÖ÷³ÌÐòµÄÒ»¸ö×é¼þ£¬ËùÒÔÖ»¸½ÉÏÏà¹ØµÄ´úÂë
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"
creationComplete="onCreationComplete()">
<mx:Script>
<!--[CDATA[
import mx.collections.XMLListCollection;
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import valueObjects.ResultData;
import mx.controls.Alert;
Ïà¹ØÎĵµ£º
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Syste ......
ת×Ô£ºhttp://www.cnblogs.com/sharplife/archive/2007/09/03/880641.html
×î½ü¿´Ê±Ñ§Ï°FlexÓ¦Ó㬿ªÊ¼¶ÔFlexºÍFlashµÄ¹ØÏµÓÐЩģºý£¬¶ÁÁËOreillyµÄProgramming Flex
2²ÅËãÊÇÃ÷°×Щ£¬ÏÖ¼ÇÏ¡£
1¡¢FlexÓ¦ÓóÌÐòµÄÉúÃüÖÜÆÚ
FlexÓ¦ÓÃ¾ÍÆä¸ù±¾ÉϽ²¾ÍÊÇFlashÓ¦Óã¬Ö»²»¹ýÆäÊÇ»ùÓÚFlex
Framework£¨ÓÉActionScriptд¾Í£©¿ª· ......
ÒÔÏÂΪһÌìµÄ»ù±¾Ñ§Ï°Çé¿ö£¬°üÀ¨Ñ§Ï°ºÍ¸´Ï°£¬Ä£Ê½²¿·ÖǰǰºóºóÒ²¿´Á˺ܶàÁË£¬µ«ÊÇһֱûÄܼá³Ö¿´Í꣬ϣÍûÕâ´Î¿ÉÒÔ¼á³ÖÏÂÈ¥¡£
ģʽ²¿·ÖÎÒûÓÐÖ±½ÓÈ¥¿´±È½Ï¾µäµÄ¡¶javaÓëģʽ¡·£¬ÕâÊéÌ«ºñÈÝÒ×ÈÃÎÒ¼á³Ö²»ÏÂÈ¥£¬¶øÊDzÉÓÃÁ˳̽ÜдµÄ¡¶´ó»°Éè¼ÆÄ£Ê½¡·£¬
ÕâÊéдµÄºÜÓÐÒâ˼£¬Ò²ºÜÈÝÒ×Àí½â¡£Ï£ÍûÕâÑùµÄÊé¿ÉÒÔ¶àЩ¡£ºÇºÇ£¬µ±È»µÈ¿´ ......
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Xml;
using System.Data;
public class Cls_XML
{
#region ´´½¨xmlÎļþ
/// <summary>
/// ´´½¨xmlÎļþ
/// ......