Use Serialize/De serialize method to
store an class object as an XML. You can also query an XML using X QUERY just like SQL Query if
needed..
Tom
Thanks Sir,
I serialized my
class object. Its working.
but every time my class object replace xml file itself. Can you suggest any solution?
Share this page across other social networking sites
Didn't get your requirement
correctly . What do you want to achieve in this task ultimately?..
Tom
suppose i have an xml file with 5
student report.
i want to append 6th student report also
Share this page across other social networking sites
Keep a List<> data structure
which loads all the data form the XML file (basically serialization). Add the new student to the List and serialize it again.
Tom
Share this page across other social networking sites
sorry 'basically deserialization" not serialization typing mistake..
Tom