Click here to Skip to main content
14,978,528 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
using .Net how to develop application that work Online and offline.

When there is no internet connection it should store data offline .

when internet connection is there then it should upload all data online it to main server.
Posted

1 solution

You can check for network connectivity.

If network is off, store date on the hard drive of the user.
Once the network comes on, send this data to the online server.

HTML5 has an offline storage capability - http://www.codemag.com/Article/1112051[^].

Of course, for large data, this may not be the most optimal solution.
Other approaches will need to be considered.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900