I was wondering if there开发者_Python百科 is any way to save form values in an xml format and reload it later.
I want to pass in my model (containing all form values) and save the form content in an xml file.
Many thanks
Sandra
Found a way to do this by serializing my model to xml by using the DataContractSerializer and them save the MemoryStream
精彩评论