Thanks. Mike. I know how to use mx:RemoteObject .
My question is how to get all the data from datagrid and pass it to mx:RemoteObject .Thanks Mark ----- Original Message ---- From: Mike Chabot <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, January 2, 2008 1:02:39 PM Subject: Re: [flexcoders] Save data from datagrid to database? There are many ways to do this, and no single best way. I would suggest looking at the mx:RemoteObject tag for starters. You could send ColdFusion a typed "RemoteClass" object that directly corresponds to a CFC, a generic object, an array, a string of data, etc. One thing to experiment with is the ColdFusion plug-in to FlexBuilder, which gives you these wizard features that create all the CRUD code for you. You will probably find that the wizard-generated code needs a lot of tweaking, but it is a good way to get started. If you were hoping for some built-in magic where you just data-bind the grid to the server, similar to what ASP.NET does, you will be disappointed. You need to write the SQL and CFC at some point, although the wizard helps. Good luck, MIke Chabot On Jan 2, 2008 12:21 PM, markflex2007 <markflex2007@ yahoo.com> wrote: > > > > > Hi, > > I have a datagrid that is changed by events. > > I want to save all the data in datagrid to database with coldfusion,I am not > sure how to get all the data from datagrid and save them to db. > > Please give me a hit. > > Thanks > > Mark ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs

