Last post Sep 12, 2018 06:45 AM by PatriceSc
Aug 14, 2018 09:59 AM|Guhananth|LINK
Aug 14, 2018 10:24 AM|mgebhard|LINK
Can this be done without creating empty class file .can xml file be serialized.
XML is already serialized. I think you mean deserialized?
Please see your other posts which provide guidance and links to XDocument, XmlDocument and Linq to SQL.
Aug 17, 2018 01:06 AM|Guhananth|LINK
here is the code
Binaryformatter fd= new binaryformatter();
Aug 17, 2018 01:12 AM|mgebhard|LINK
Sep 12, 2018 06:45 AM|PatriceSc|LINK
What if you try https://docs.microsoft.com/en-us/dotnet/api/system.xml.serialization.xmlserializer?redirectedfrom=MSDN&view=netframework-4.7.2 instead
? You told it is an XML file so you have to use the serialiazer/deserializer for XML files (rather than for binary files).