Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

XML Document

$
0
0

        public static nonpublicExecutionReport xmlToObj(String xmlData)
        {
            var serializer = new XmlSerializer(typeof(nonpublicExecutionReport));
            var stringReader = new StringReader(xmlData);
            var obj = (nonpublicExecutionReport)serializer.Deserialize(stringReader);
            stringReader.Dispose();
            return obj;
        }

My error is

invalid operation exception was unhandled

there is an error in xml document(93,2).

Please help.

Thank you


Viewing all articles
Browse latest Browse all 31927

Trending Articles