Hi Yasovardhan,
The two ways that I know of to return a .Net dataset to Flex via webservices:
1. Use FOR XML AUTO in your SQL Statement and return the result directly.
or
2. Cast the dataset to a class. View Sample
-TH
__________________________________
Tim Hoff
Cynergy Systems, Inc.
http://www.cynergysystems.com
Office: 866-CYNERGY
--- In [email protected], "Matias Nicolas Sommi" <[EMAIL PROTECTED]> wrote:
>
> Hello, check the message history, Tim had given a link to one example for
> this case, the method was parse the dataset in a custom class that
> represents it, and return this clase.
> A personal observation is that the class that u return must have a
> parameterless constructor and public atributes.
> Regards.
>
> 2006/10/26, ben.clinkinbeard [EMAIL PROTECTED]:
> >
> > .NET should know (how) to serialize those structures into
> > SOAP-compliant XML shouldn't it? I call (but don't write them myself)
> > .NET web services all the time from Flex.
> >
> > Ben
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> > "Yasovardhan Babu"
> > yasovardhanbabu@ wrote:
> > >
> > > Hi,
> > >
> > > I have an application currently using remoting.
> > > In that application,.Net will return datatbles and datasets, which are
> > > directly assigned to arrays/objects in flex side.
> > > Now, I need to use web services to implement this application instead
> > > of remoting.
> > > The problem is how to assign the Datasets/Datatables from .net(web
> > > services) side to Flex.
> > >
> > > Is there any other solution?
> > >
> > > Thanks and Regards,
> > > Yasovardhan.
> > >
> >
> >
> >
>
>
>
> --
> Matías Nicolás Sommi
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
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
__,_._,___

