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:

Okay,
I'm pretty new to the Flex scene and am very impressed with the
development so far. My company is wanting to start developing a
database application using an Ajax technology and realize I'm a little
behind the curve since Flex applications don't access data like the
.net applications I normally develop. We've already bought Flex
Builder 2.0 and I am being pushed to develop there.

So far the interface design and interaction development I'm catching,
but with the data access I'm lost.

Does anyone have any idea where to begin? I've tried browsing the
forums and just keep getting more confused, and all of the examples
I've found on the web don't use IIS/MSSQL.

Please Help!

Thanks

__._,

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

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

__,_._,___

Reply via email to