Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. RSS and C#

RSS and C#

Scheduled Pinned Locked Moved C#
csharpxmlquestionlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    il_manti
    wrote on last edited by
    #1

    Hi, I have an ASP page which when called returns an XML page. I also have an application I'm working on with C# which I need to connect to that page. How can this be done? I need to call the ASP page, read the data it returns and work with it. Thanks.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    E P 2 Replies Last reply
    0
    • I il_manti

      Hi, I have an ASP page which when called returns an XML page. I also have an application I'm working on with C# which I need to connect to that page. How can this be done? I need to call the ASP page, read the data it returns and work with it. Thanks.

      In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

      E Offline
      E Offline
      Eduard Keilholz
      wrote on last edited by
      #2

      The easiest way is to open the URL in a WebRequest and create a dataset from the result DataSet dsFeed = new DataSet(); WebRequest wq = WebRequest.Create(Url); WebResponse ws = wq.GetResponse(); dsFeed.ReadXml(ws.GetResponseStream()); ws.Close(); wq = null;` .: I love it when a plan comes together :. [http://www.zonderpunt.nl](http://www.zonderpunt.nl) `

      1 Reply Last reply
      0
      • I il_manti

        Hi, I have an ASP page which when called returns an XML page. I also have an application I'm working on with C# which I need to connect to that page. How can this be done? I need to call the ASP page, read the data it returns and work with it. Thanks.

        In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Your application should initiate a web request. This[^] article might help.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups