Newbie Question - Pass a parameter when consuming XML feed

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.
 
A

Alex Meleta

Hi Bishop,

You can find some links there: http://www.thescripts.com/forum/thread177006.html

Regards, Alex
[TechBlog] http://devkids.blogspot.com



B> I use the following code to consume a XML feed and populate a
B> dataset.
B>
B> Dim myReader As System.Xml.XmlTextReader = New
B> System.Xml.XmlTextReader(myXMLURL)
B> Dim ds As Data.DataSet = New Data.DataSet()
B> ds.ReadXml(myReader)
B> Can anyone point me in the right direction for changing this code to
B> pass a parameter? In this case I'm going to the XML feed and calling
B> the method GetInventory but I need to pass my CustomerID when calling
B> the method.
B>
 

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

Top