Results 1 to 5 of 5

Thread: [2008] webservice returndata to datagrid view

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2007
    Posts
    99

    [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

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2007
    Posts
    99

    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

  4. #4
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    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?

  5. #5
    Frenzied Member
    Join Date
    Jun 2003
    Location
    Auckland
    Posts
    1,139

    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
  •  



Click Here to Expand Forum to Full Width