Click here to Skip to main content
15,898,689 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I am using Login page.
when no net work connection to data base is available then how to redirect the user to my Error.aspx page and show related Message
thank you.
Posted

There is a very good article explaining about ASP.NET custom error pages. I suggest you to go through the article. It will help you understand how to deal with errors in ASP.NET application and what are the various options. So here it is: ASP.NET Custom Error Pages[^]

Hope this helps! :thumbsup:
 
Share this answer
 
Check out the following articles. They explain well How to handle exceptions in Asp.NET .

Error handling in net with example[^]
Error Handling in ASP.NET[^]

I hope this helps you well.
 
Share this answer
 

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