应用程序崩溃时如何保存数据 [英] How to save data when the application crashes

查看:528
本文介绍了应用程序崩溃时如何保存数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,



每当应用程序崩溃时,我需要恢复已在应用程序中输入的数据。



对于Ex:在WPF表单中我有10个文本框我在8个文本框中输入值,在保存应用程序之前意外崩溃现在当我重新打开应用程序时我需要获取8个文本框的数据在崩溃之前我已经输入了。



这必须在MSExcel中工作。



是这可能吗?如果可能请告诉我这样做的方式



谢谢和问候,

Mathi



Whenever an Application crashes I need to recover the data which have been entered in the application.

For Ex: In a WPF form I have 10 text boxes Where I have entered value in 8 text boxes, and before saving the application crashes unexpectedly now when I reopen the application I need to get the data of 8 text boxes which I have entered before crashing.

This has to work as it works in MSExcel.

Is this possible ? If possible Please let me know the way to do this

Thanks & Regards,
Mathi

推荐答案

参考 - 应用程序恢复和重启C#快速参考 [ ^



这可能对你有帮助。
Refer - Application Recovery and Restart C# Quick Reference[^].

This might help you.


这篇关于应用程序崩溃时如何保存数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆