|
-
Mar 7th, 2009, 07:02 AM
#1
Thread Starter
Lively Member
[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
-
Mar 7th, 2009, 09:04 AM
#2
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.
-
Mar 7th, 2009, 10:03 AM
#3
Thread Starter
Lively Member
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
-
Mar 7th, 2009, 10:09 AM
#4
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?
-
Mar 27th, 2009, 10:56 PM
#5
Frenzied Member
Re: [2008] webservice returndata to datagrid view
Could it be returned in XML format?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|