Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / July 2007

Tip: Looking for answers? Try searching our database.

How to convert XML data of web service into DataSet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shakthi - 10 Jul 2007 21:50 GMT
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
sloan - 10 Jul 2007 23:18 GMT
Please do not multi post.

You have 2 answers here (where you already posted)

http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_t
hread/thread/a6316dccd739decd/893403ab2a40be06#893403ab2a40be06


and here
http://groups.google.com/group/DotNetDevelopment/browse_thread/thread/64e3d81c34
d5edab/02378535db261e0d?lnk=st&q=%22USZip+has+a+GetInfoByZip(String+zipcode)+met
hod+which+retuns+an+XML%22&rnum=1#02378535db261e0d


> Hi all,....i am developing an pocket PC application which consumes
> USZip Webservice and display the data.
[quoted text clipped - 25 lines]
> ReadXml() don't hav such type of argument......can any tell me how to
> convert this Xml data into DataSet..................thankyou
shakthi - 11 Jul 2007 04:49 GMT
> Please do not multi post.
>
[quoted text clipped - 33 lines]
> > 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....!!!
sloan - 11 Jul 2007 16:45 GMT
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.

.........

> > Please do not multi post.
> >
[quoted text clipped - 36 lines]
> my intention is not to post multiple times.....i was looking for
> helping answer....!!!
shakthi - 11 Jul 2007 17:16 GMT
> 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
[quoted text clipped - 62 lines]
>
> - 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.???
shakthi - 11 Jul 2007 17:22 GMT
> > 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
[quoted text clipped - 70 lines]
>
> - 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....
sloan - 12 Jul 2007 17:41 GMT
http://www.google.com/search?hl=en&q=newsgroup+etiquette+cross+multi

> > > 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
[quoted text clipped - 24 lines]
> >
> > > > > and

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

> > > > > "shakthi" <shakth...@gmail.com> wrote in message
> >
[quoted text clipped - 47 lines]
> even mine)...if the answer which got was right i would not post it in
> a new group....

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.