|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Newbie Question - Pass a parameter when consuming XML feedI 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. 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> |
|||||||||||||||||||||||