0 Replies Latest reply on Jun 15, 2012 3:59 AM by rogerknit

    Data binding to DataGrid

    rogerknit

      Hello,

       

      I am trying to bind some data into the datagrid.

       

      I am accessing a PHP service using HTTPService.

      The result recieved from the service is XML data. I have a datagrid with predefined columns.

      I want to map the data as obtained from the result into the datagrid.

       

      sample XML as recieved from the server.

      <?xml version="1.0" encoding="UTF-8"?>

      <response>

           <row>

                <id>ID1</id>

                <name>name 1</name>

           </row>

           <row>

                <id>ID2</id>

                <name>name 2</name>

           </row>

           <row>

                <id>ID3</id>

                <name>name 3</name>

           </row>

      </response>

       

      and the datagrid is having columns like

      ___________________

      |     ID     |     Name     |

      ---------------------------------

       

      Can somebody pls help me in this context.