Ganesh,
I use the XmlTypeAttribute for this. [XmlTypeAttribute("int")]
My problem is the opposite. I don't want it to be there.
Apparently, when you serialized derived classes the serialization framework
takes it upon itself to specify the actual specialized class that the data
was serialized from in order to aid with deserialization.
"Ganesh Muthuvelu" wrote:
Hello,
Is it possible to make the dataset give the "xsi:type" data as well?. I need
result from the dataset.GetXML method something like this for the column "a":
<a xsi:type="int">12</a>
Is it possible?. I would appreciate any pointers/code help.
Thanks.