[2008] webservice returndata to datagrid view
Hello all,
Finally got to the point of having a work webservice using php and nusoap :)
I can retrieve values and send. Very happy.
Now what I want to do retrieve multiple values into a data grid, I think.
What I want to do is retrieve various messages specific to that user. At the moment I retrieve values individually but as there may be more than one result I assume the datagrid may be the way forward.
Now the question is how can I retrieve this information
currently my data returns in the following format if this helps etc
name.Text = returnData.name
Re: [2008] webservice returndata to datagrid view
You will probably want to return the data in some sort of array or structure. I don't know PHP, so I don't know how you configure it on that end, but once you get it working, the web service wrapper in .net should help you map the data back to .Net objects.
Re: [2008] webservice returndata to datagrid view
Hi Negative0,
PHP wise i'm ok, i've set the script to search for all records from a table, the result is returned via the webservice as
returdata.query its how I can get this data into a datagrid i'm stuck with
Re: [2008] webservice returndata to datagrid view
What is the data type of the .query object? If you add a watch to it in .Net, what does it look like?
Re: [2008] webservice returndata to datagrid view
Could it be returned in XML format?