阅读背景:

如何在javascript中检查服务器连接

来源:互联网 

In my ASP.NET application, I am having the form with different controls and after filling the form, when I click the save button, If the server connection is available, the datas has to be saved directly to the Sql Server and if the connectivity is not available, the datas has to be saved to my local IndexedDB Datatbase. And later, if the connectivity becomes available, the IndexedDB datas should be saved to the Sql Server and the IndexedDB datas should be deleted upon successful insertion of datas in my Sql Server. I want to know how to check whether the connectivity is available or not???In my ASP.NET application, I am having the form




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: