Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which exceptions is for no internet connection asp.net??explain with example
Posted

1 solution

No, that isn't going to work...remember that exceptions are all C# / VB events, so they are raised at the server.

If your client has no internet connection, he can't access your site: so no exception will be generated.
If you server has no internet, then your site will never be accessed, so no exception will be generated.

Either way: no internet, no exception!
 
Share this answer
 
Comments
Member 10523388 31-Jan-14 8:42am    
i have develop Management information system for client and i have used used google spreadsheet as a database,so i need internet connection 24 hours to insert record,sometime google server is down,in that case which message should be shown to user(admin) of the Management information system??

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