Hi
I am trying to use the XML Web Control and the XmlReade
but when I try and load the xmlReader into the XmlDocument is gives me this erro
Error: This document already has a DocumentElement node
It fails at: doc.Load(myXmlReader
Is there something I am missing
Here is my code
Dim myCommand As SqlCommand = New SqlCommand("Select proddesc from invli where custid = '1STRFA' for xml auto", myConnection
myConnection.Open(
Dim myXmlReader As System.Xml.XmlReader = myCommand.ExecuteXmlReader(
Dim doc As XmlDocument = New XmlDocumen
doc.Load(myXmlReader
Dim trans As XslTransform = New XslTransfor
trans.Load(Server.MapPath("ProductTable.xsl")
Xml1.Document = do
Xml1.Transform = tran
Thank
Jeff