using Xmlserializer for Char datatype gives problems - 06-26-2006 , 02:48 AM
I have a class that I serialize/deserialize using xmlserializer.
There are a few properties with char datatype.
I have a few xml files from which I want to create the objects. While
deserializing from xml if the properties having char datatypes have
numeric values(0-9) then everything worls fine. If I put any letter
e.g. A it starts throwing exception - "Input string is not in correct
If I convert these properties to string, all data works. But I have to
keep these properties as chars for some reasons.
Is there a problem with the char datatype and xmlserialiser? Is there
any workaround for this?
thnx in advance,
|Thread Tools||Search this Thread|