ASP.Net中的脱机数据保存 [英] Offline Data Saving In ASP.Net

查看:107
本文介绍了ASP.Net中的脱机数据保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当SQL Server关闭时,用户在asp.net页面中输入他的注册详细信息,将详细信息视为脱机。一旦服务器启动,需要使用ASP.Net(C#)在sql db中保存详细信息。

When SQL Server is down, user enter his registration details in the asp.net page, take the details as offline. Once the server is up, need to save the details in sql db using ASP.Net(C#).

推荐答案

创建模块,如缓存管理,即脱机数据管理。如果SQL Server脱机或未与SQL Server建立连接,则数据将临时保存到此模块。一旦SQL上升,将所有数据保存到db。



你需要保持上次SQL离线,离线数据时间戳等等。
Create Module like cache management i.e. offline data management. if SQL server is offline or connection is not established to SQL server, data will be temporary saved to this module. once SQL goes up save all data to db.

you need to maintain last time SQL offline, offline data time stamp etc. etc.

这篇关于ASP.Net中的脱机数据保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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