Xml Deserialization
-
hi friends, i am using xmlclass serailization to read the Xml File /// XmlTextReader reader = new XmlTextReader(filename); try { XmlSerializer serializer = new XmlSerializer(typeof(Class_name)); Class_object = (Class_name)serializer.Deserialize(reader); reader.Close(); } catch (Exception e) { reader.Close(); return; } it says that "{
-
hi friends, i am using xmlclass serailization to read the Xml File /// XmlTextReader reader = new XmlTextReader(filename); try { XmlSerializer serializer = new XmlSerializer(typeof(Class_name)); Class_object = (Class_name)serializer.Deserialize(reader); reader.Close(); } catch (Exception e) { reader.Close(); return; } it says that "{
VCsamir wrote:
Order
VCsamir wrote:
order
Opening and closing tags are not matching. XML tags are case sensitive.
Arun Jacob http://codepronet.blogspot.com/
-
VCsamir wrote:
Order
VCsamir wrote:
order
Opening and closing tags are not matching. XML tags are case sensitive.
Arun Jacob http://codepronet.blogspot.com/
hi , Opps sorry friends.. The opening and closing tags are matching i have put "//" only because to show the example..(when i was posting the same code the <> tags were getting invisible :doh: )i have tried opening the xml in iexplorer it opens fine.. Thanks .. Regards Samir
-
hi friends, i am using xmlclass serailization to read the Xml File /// XmlTextReader reader = new XmlTextReader(filename); try { XmlSerializer serializer = new XmlSerializer(typeof(Class_name)); Class_object = (Class_name)serializer.Deserialize(reader); reader.Close(); } catch (Exception e) { reader.Close(); return; } it says that "{