How can u handle Exceptions in Asp.Net?

Answer Posted / guest

using system.exceptions namespace

Try
Piece of code ..
Catch objError as Exceptions
display objError.message
Finally

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a postback in asp net?

807


What is difference between session and cookies?

769


Why do we use asp.net?

784


What is applicatio domain?

753


List the major built-in objects in asp.net?

746


Can you explain autopostback?

730


Can we override the enablepartialrendering property of the scriptmanager class?

886


What is the purpose of using MVC programming pattern in ASP.NET?

773


What is the difference between equals() and == in c#?

756


What is authorization in asp.net?

803


Is asp.net a programming language or framework?

766


Please brief not about xsd,xslt & xml?

756


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

702


What is the difference between rest and restful?

779


Differentiate between early binding and late binding.

781