Holly_vi
August 29th, 2008, 07:24 AM
I am trying to use the DataSet Designer to create a DataSet for my application.
In the Designer.cs file that was created by the designer, I see that the MappingType of all columns of the DataTables is MappingType.Element.
How do I change the MappingType to be of type MappingType.Attribute?
It is important to me, because later I want to save the DataSet into an Xml file, and I want the columns to be represented as attributes.
Also, is it possible to define a column not to appear in the Xml file?
In the Designer.cs file that was created by the designer, I see that the MappingType of all columns of the DataTables is MappingType.Element.
How do I change the MappingType to be of type MappingType.Attribute?
It is important to me, because later I want to save the DataSet into an Xml file, and I want the columns to be represented as attributes.
Also, is it possible to define a column not to appear in the Xml file?