G
Guest
Hi,
I am using the following code to open an XML document:
Dim datadoc As New System.Xml.XmlDataDocument
datadoc.DataSet.ReadXml(New StreamReader(sFileName), XmlReadMode.InferSchema)
When I am through using the XML file I want to rename it to another folder
but it's locked. How do i close it? XmlDataDocument does not have a Close
method.
Thanks,
John
I am using the following code to open an XML document:
Dim datadoc As New System.Xml.XmlDataDocument
datadoc.DataSet.ReadXml(New StreamReader(sFileName), XmlReadMode.InferSchema)
When I am through using the XML file I want to rename it to another folder
but it's locked. How do i close it? XmlDataDocument does not have a Close
method.
Thanks,
John