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



On Jul 11, 12:16 pm, shakthi <shakth...@xxxxxxxxx> wrote:
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.???- Hide quoted text -

- Show quoted text -

"A multi post, you question may have been answered by someone else
already,
meaning you're wasting someone's time. "

I am here to slove my problem not to waste some ones time (and not
even mine)...if the answer which got was right i would not post it in
a new group....

.



Relevant Pages

  • Re: Woman Who Plays Chess [3]
    ... (insert your gender perceived meaning here) ... those wasting their money on price gouging coffee. ... Backroom Politician: corrupt secretive politician as are all politicians. ...
    (alt.usage.english)
  • Re: Ruling Question
    ... regard; that is, what Stu suggests is OK in almost every place outside ... the meaning of an opponent's call, then not being allowed to ask what ... if the opponents were unlikely to be able to ... a redouble is a possibility would effectively UI partner away from the ...
    (rec.games.bridge)
  • Re: a mathematical question .. unanswered !!!
    ... The purpose is to enlarge the set at hand (nonnegative ... Only has a meaning and the meaning is given to it by the ... A Schaumm outline should do fine. ... I'm not interested in wasting any more of my time ...
    (sci.physics)
  • Re: Lifes so depressing: the new electronics
    ... >display, in Cambridge's main city car park and it said, loudly: ... >meaning and sentiment. ...
    (sci.electronics.design)
  • Re: screen saver in window xp
    ... mins or 15 mins whatever i choose ... "Unknown" wrote: ... my screen saver works meaning i set a time for the display to go off after ...
    (microsoft.public.windowsxp.general)

Loading