Re: Consuming Returned Data in a WindowsForm App from a web service

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Wayne Taylor (wtt_at_online.parity-ict.com)
Date: 08/05/04


Date: Thu, 5 Aug 2004 12:35:18 +0100

Thanks for the reply.

Ok, I've looked at the kb article you suggested, and it seems to get it's
XML file a XML file...

It's seems a bit odd to me that I have to take the XML string returned from
the WebService and write it out to file and then read it back in.

I have tried using the sytax as suggested in the article but it won't let me
pass the string into a dataset....

Thanks,

Wayne

"Bharat Patel [MSFT]" <bharatp@online.microsoft.com> wrote in message
news:s5W53dZeEHA.2632@cpmsftngxa10.phx.gbl...
> Hi Wayne,
>
> If you get xml string from this webservice method, you can still use that
> xml
> string to create a Dataset.
> Please review the article below for a sample.
>
> 309702 HOW TO: Read XML Data into a DataSet by Using Visual Basic .NET
> http://support.microsoft.com/?id=309702
>
> If it is not an xml string and it is a concatenated string with some
> separator
> character, you can split the string in an array.
>
> Dim s1 As String
> s1 = "Chicago,Dallas,New York"
> Dim cities() As String
> cities = s1.Split(",")
> Debug.WriteLine("First city: " & cities(0))
>
>
> Hope this helps!
> Bharat Patel
> Microsoft, Visual Basic .NET
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Please reply to newsgroups only. Thanks.
>



Relevant Pages