Are you trying to upload all of the data again or do you want to just update an individual row?  Maybe it’d be helpful to look at a larger example?  Christophe’s Restaurant Finder tutorial may be a good place to get started.  When working with databases especially where you want to write back I think using a WebService or RemoteObject will be easier than HTTPService.

 

Here’s the link to Christophe’s tutorial: http://www.coenraets.com/tutorials/restaurant/index.jsp

 

He also has an updated version posted in another blog entry: http://www.coenraets.com/viewarticle.jsp?articleId=85

 

HTH,

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of wolfman6411
Sent: Wednesday, October 12, 2005 6:36 PM
To: [email protected]
Subject: [flexcoders] editable datagrid (with updates)

 

Hello everyone.

I'm just a beginner with flex. I managed to create a simple datagrid,
and tied it to my MS SQL database, using an XML service. The datagrid
is being populated with real-time data from the database, and i also
made the rows editable (i can change the text inside the cells), but i
cannot figure out how to update the changes back to the database. I try
doing postback via the browser using httpservice and it works, but i
don't know how to do it in FLEX.  PLease help. Maybe there is a
tutorial i can look at. Thanks in advance.






--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to