开发者

How to store form data in xml in asp.net MVC

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜