1 Reply Latest reply on May 7, 2007 2:49 AM by Chielosos

    datagrid to http service

    rajeeva_nagaraj
      Hi everybody

      is it possible to send a datagrid values to .net application thru http service

      if it is possible plz tell me how can i do that

      regards
      Rajeev
        • 1. Re: datagrid to http service
          Chielosos
          Hey,

          Did you try to convert the data property of the DataGrid to a string by using toString() ? If you do so, you can send the data (as string). Let's say your dataprovider is named myDataProvider:

          var tempString:String = myDataProvider.data.toString();
          var http:HTTPService = new HTTPService();
          var params:Object = new Object;
          params.xml_code = temp;
          http.send(params);

          If your dataprovider was provided an XML structure, this should return it's values as formatted XML to the HTTP service. (the example is of course not valid like this, but it's just to give you an idea)

          Michiel.