How can u handle Exceptions in Asp.Net?

Answer Posted / senthil kumar

try
{
//set of code
}
catch(Exception1 e)
{
//error display
}
catch(Exception2 e)
{
//error display
}
finally
{
//compulsory execution will be done here
}

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is razor? : asp.net mvc

553


Explain the Session state management options available with ASP.NET?

561


What does asp stand for in asp.net?

515


How can we inherit a static member?

587


What is difference between cookies and cache?

514






What is directive in asp net?

537


How do I force the dispose method to be called automatically, as clients can forget to call dispose method?

502


Explain one critical mapping?

558


What is server side session?

516


What is .net framework and what are the main components of it?

369


What is autopostback in asp net?

581


How to you can limit Access to Web API to Specific HTTP Verb?

657


What is the Intermittent crashing of application in production?

550


What is enableviewstatemac in asp net?

592


Define the term Web Garden?

547