This content has been marked as final. Show 10 replies
hello u hav to use an actionscript VO to do this.. Populate the AS vo and send that VO back to the aspx... OR Convert the DG into static XML and send it back.
how do i populate action script vo
thanks and regards
Sorry, i dont know much abt populating and converting into an aspx, am familiar with java, using JSP u can create a bean and use RMI mechanisms to convert an AS vo to the java VO, prob in c# also ter wil b an option lik this.
You tell me how to fetch from flex and storing it in xml, i can send that xml to aspx page and will update the database from there,
plz tell me how to access the values from grid and storing it in xml
To save the data to sql database use .NET web services. You can easily create a web service in .NET and access in FLEX using <mx:webservice>
yez, using web service is the better option if you have that provision. but remember, webservices are not recommended for large record sets :)
Right now i am using http services in flex and i am writing all the user entered data to a xml and passing that xml to aspx page from there i am storing that to database, i am able to do this for all by textinputs and comboboxes in flex application, but i am unable to fetch those data which are entered in datagrid,
plz let me know how to access user entered data from datagrid and writing it to a xml.
thanks in advnce
Don't forget about HTTPService. It works great with .net aspx pages.
I do all of my data transfer with xml, because it is easy and well supported by both flex and .net. Loop over the dtaProvider, build an xml string representing the contents, and POST it to an aspx page.
In my experience, even large amouts of data are transferred quite quickly.
plz if you have any simple code plz forward that to me so that i can refer that and i can work on that