This content has been marked as final. Show 4 replies
If you are using Flex Data Services, the CRM and FlexCab samples demonstrate how to connect to a DataBase both directly and using Hibernate.
The samples connect to the embedded HSQL database. You will have to replace the connection code to connect to SQL Server instead.
Besides FDS, there are a couple options.
First use some other server-side platform to do the data access, and communicate with Flex clients using one of the RPC protocols.
Second, if it is SQL Server 2005, that supports direct url queries. These might work with Flex withoug a server app.
Could you pls give samples for connection with SQL Server 2005
Sorry, I haven't tried this recently.
Give it a try and let us know if it works.