Pass a parameter when consuming XML feed Newbie Question

Discussion in 'ASP .Net' started by Bishop, Oct 29, 2007.

  1. Bishop

    Bishop Guest

    I use the following code to consume a XML feed and populate a dataset.

    Dim myReader As System.Xml.XmlTextReader = New
    System.Xml.XmlTextReader(myXMLURL)
    Dim ds As Data.DataSet = New Data.DataSet()
    ds.ReadXml(myReader)

    Can anyone point me in the right direction for changing this code to pass a
    parameter. In this case I'm going to the XML feed and calling the method
    GetInventory but I need to pass my CustomerID when calling the method.
     
    Bishop, Oct 29, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike R
    Replies:
    0
    Views:
    550
    Mike R
    Apr 20, 2004
  2. Replies:
    2
    Views:
    433
    Jonathan N. Little
    Jun 2, 2006
  3. Bo
    Replies:
    0
    Views:
    271
  4. Marcus Bristav

    RSS/Atom feed consuming lib?

    Marcus Bristav, Oct 18, 2006, in forum: Ruby
    Replies:
    6
    Views:
    124
    Andy Smith
    Oct 20, 2006
  5. AzamSharp
    Replies:
    2
    Views:
    187
Loading...

Share This Page