Pass a parameter when consuming XML feed Newbie Question

B

Bishop

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,844
Latest member
JudyGvh32

Latest Threads

Top