|
Joe, the first learning step to just get something going is to write
.NET/ASP pages that output simple XML that your Flex app consumes. In
the Flex Docs lookup stuff on "HTTPService". Using HTTPService you can
just connect to any URL that spits back XML, and then in Flex you can
work with that XML data. <mx:HTTPService id="srv" url="" class="moz-txt-link-rfc2396E" href="http://localhost/somexml.asp">"http://localhost/somexml.asp" useProxy="false" /> And you could then display the results in a datagrid <mx:DataGrid dataProvider="{srv.lastResult.emps.employee}" editable="true"> <mx:columns> <mx:Array> <mx:DataGridColumn dataField="first" headerText="First" editable="true" width="60"/> <mx:DataGridColumn dataField="last" headerText="Last" width="60"/> </mx:Array> </mx:columns> </mx:DataGrid> Where the XML output looks something like: <?xml version="1.0" encoding="utf-8" ?> <emps> <employee> <first>Jeff</first> <last>Smith</last> </employee> <employee> <first>John</first> <last>Doe</last> </employee> </emps> BUT... ultimately you want to use WebServices, which is almost exactly the same from the Flex side. But there may be some challenges with how .NET WebServices handle certain object/data types. Joe wrote:
__._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- Re: [flexcoders] SQL Server and Flex 2 Tariq Ahmed
- [flexcoders] Re: SQL Server and Flex 2 jbeck_sound
- Re: [flexcoders] SQL Server and Flex 2 Clint Modien
- RE: [flexcoders] SQL Server and Flex 2 Dimitrios Gianninas
- RE: [flexcoders] SQL Server and Flex 2 Tracy Spratt
- [flexcoders] Re: SQL Server and Flex 2 Tim Hoff
- Re: [flexcoders] Re: SQL Server and Flex ... Igor Costa

