serializer

  1. A

    Serialize a property using System.ComponentModel.DefaultValueAttribute

    Hello, I try to serialize a n object to xml file.this object containt a property length [System.Xml.Serialization.XmlAttributeAttribute()] [System.ComponentModel.DefaultValueAttribute(1D)] public double Length { get { return...
  2. C

    Create repeating elements in xml document from datatable

    Hi all, I am creating an XML document from a schema. I used xsd.exe to create a class file from the xsd. I have a datatable that I am using to write the xml with. Below is a sample with only first name and surname. As expected though, 5 nodes are created, the problem is that it only writes...
Back
Top Bottom