Convert received XML into a dataset

Posted on 2005-04-11
Last Modified: 2010-04-07
here's the background:

i've tried to get the webservice at:{some zip code} to work, however, i cannot.

The link above returns a pure xml page, and what i was wondering is if the xml returned could be coverted into a dataset very easily and if so how would be the best way to do it?

Thanks for your help.
Question by:etatmirtna
    1 Comment
    LVL 12

    Accepted Solution

           Dim r As System.Net.WebRequest = System.Net.HttpWebRequest.Create("")
            Dim re As System.Net.WebResponse = r.GetResponse
            Dim reader As System.IO.StreamReader = New System.IO.StreamReader(re.GetResponseStream())
            Dim ds As New DataSet

            DataGrid1.DataSource = ds

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now