2 Replies Latest reply on Apr 26, 2011 5:48 PM by finster26

    Flex database object

    JasonBr42 Level 1

      Ok, so I am using .net as my backend using c# to access my sql database.

       

      I am using WebOrb 4 to connect .net to my Flex /actionscript 3 code. 

       

      What I need to know is =

       

      What datatype or object from my sql dataset do I need to return for Flex to consume?

       

      example:

       

      pirvate dataset getData(int recordID)

      {

         // do stuff

         return dataset;
      }

       

      So normally I can just take that datset and assign it to a page items datasource (like a datagrid) if i were doing this in .net

       

      But since it will be Flex consuming the returned object = what do i need to return for felx to get that dataset? 

       

       

      Thanks!