0 Replies Latest reply on Apr 19, 2010 11:04 AM by harish7447

    Flex - Blazeds - Spring - Browse for CSV file, show contents on datagrid & save to DB

    harish7447

      Hi All

       

      I'm new to the Flex World. I'm creating a application using Flex 4, BlazeDS, Spring & Hibernate. My application's goal is to browse for a CSV file from a local folder, and show the contents in a datagrid (in separate rows), edit the content and then save the datagrid to the DB.

       

      The CSV would look like:

       

      LA0698,1,2,532,500,1,1,6
      LA0897,1,2,533,500,1,2,7
      LA0096,1,2,534,400,1,3,8
      LA0097,1,2,535,200,1,4,9
      LA0027,1,2,536,300,1,5,4
      LA0028,1,2,537,600,1,6,3

       

      So i need to upload this CSV to a datagrid and show 6 rows of the data, edit & save to DB. Right now I'm concentrating on showing the CSV contents on the datagrid. I have searched for this but not able to get a solution. Also if there are some examples on how to do this, please do let me know. I have already done this using Spring, Hibernate, Smooks & JSF. So if you can help this Flex newbie, that would be great.

       

       

      Thanks in advance

       

       

      Harry