Re: How to convert XML data of web service into DataSet



On Jul 11, 11:45 am, "sloan" <s...@xxxxxxxxx> wrote:
A cross post is acceptable, if the newgroups are actually the correct ones,
and not a "shotgun approach", where you just cross post to alot of groups
with no regard to if the groups could actually help you.

A multi post, you question may have been answered by someone else already,
meaning you're wasting someone's time.
And you don't get a good thread of discussion going, because there are
fragments all over the place.

Newsgroups are not just for you and your issue of the day, but for future
readers as well, who can learn from other issues.

On occasion, if I need to "move a post", I will place a post saying "Please
close this post, and I've moved it to _________" and I usually put another
newgroup and a datetime stamp of the other post.

.........

"shakthi" <shakth...@xxxxxxxxx> wrote in message

news:1184125759.330730.101830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> On Jul 10, 6:18 pm, "sloan" <s...@xxxxxxxxx> wrote:
Please do not multi post.

You have 2 answers here (where you already posted)

http://groups.google.com/group/microsoft.public.dotnet.languages.csha...

and

herehttp://groups.google.com/group/DotNetDevelopment/browse_thread/thread...





"shakthi" <shakth...@xxxxxxxxx> wrote in message

news:1184100629.299503.210300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi all,....i am developing an pocket PC application which consumes
USZip Webservice and display the data.

USZip has a GetInfoByZip(String zipcode) method which retuns an XML
data......

For Example....

USZip u = new USZip();

System.Console.WriteLine(u.GetInfoByZip("49544"));

****OutPut************
<?xml version="1.0" encoding="utf-8" ?>
- <NewDataSet>
- <Table>
<CITY>Grand Rapids</CITY>
<STATE>MI</STATE>
<ZIP>49544</ZIP>
<AREA_CODE>616</AREA_CODE>
<TIME_ZONE>E</TIME_ZONE>
</Table>
</NewDataSet>
********************************
I want this data to be displayed into a dataset....i tried using
DataSet.ReadXml(u.GetInfoByZip("49544"))...but iam getting an error
saying cannot convert Xml.XMlNode data into String..may be because
ReadXml() don't hav such type of argument......can any tell me how to
convert this Xml data into DataSet..................thankyou

my intention is not to post multiple times.....i was looking for
helping answer....!!!- Hide quoted text -

- Show quoted text -

So do you mean all the three gropus are same.....if so wat is the need
to create one with specific name.???

.



Relevant Pages

  • Re: i cant start my ssl
    ... after i type apachectl startssl then it display: ... By Frank ...
    (freebsd-questions)
  • Re: In the proper NG at last I think
    ... Don't multi post. ... >I am having a problem getting IE6 and FireFox 1.07 to display a page in the ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: All Roads Lead to Rome but which One is Most Desirable?
    ... Ahe, the REPLACE function is real nice, thanks, Mr. Celko. ... With regard ... to "But you really ought to be doing display in the front end and not ...
    (comp.databases.ms-sqlserver)
  • Re: Using Time
    ... Whats happening....I'm a bit confused ... Dave:)) ... I dont need to display the seconds as we arent that picky. ...
    (microsoft.public.excel.programming)
  • Re: Using Time
    ... Dave:)) ... format as hh:mm ... I dont need to display the seconds as we arent that picky. ...
    (microsoft.public.excel.programming)