O
Ole
Hi, I have a strange problem - when writing to a file from a Full framework
application I get the normal XML format but when I write to a file in a
Compact Framework application using the exact same code I get one single
unwrapped linin XML.?? I'm using XML serialization like this:
TestObject test = new TestObject();
XmlSerializer ser = new XmlSerializer(test.GetType());
StreamWriter file = new StreamWriter(@"C:\test.xml");
ser.Serialize(file, test);
file.Flush();
file.Close();
What can I do correct that problem?
Thanks
Ole
application I get the normal XML format but when I write to a file in a
Compact Framework application using the exact same code I get one single
unwrapped linin XML.?? I'm using XML serialization like this:
TestObject test = new TestObject();
XmlSerializer ser = new XmlSerializer(test.GetType());
StreamWriter file = new StreamWriter(@"C:\test.xml");
ser.Serialize(file, test);
file.Flush();
file.Close();
What can I do correct that problem?
Thanks
Ole