Friday, August 20, 2010

Adobe flex + .NET web services?

hi, im new in adobe flex so i have this problem that maybe easy for some of u flexperts =).





what i know is the %26lt;mx:datagrid%26gt; can accept array collections or xml files. but in my case, im not allowed to use the xml as datasource.





The webservice (.NET) returns an array (or watever collection it is with muyltiple columns).. so how can the flex datagrid accept this as an array collection?





to summarize all those bunch o' craps i mentioned earlier, i just need to populate my flex datagrid with 3 columns (the method will come from the .net webservice)...





thanksAdobe flex + .NET web services?
Within Flex, you have to convert the XML to an array. If your web service returns the data in some sort of table/row/column format, then this is pretty straightforward. Take a look at the tutorial below and let me know if that is what you are looking for.

No comments:

Post a Comment