How do you handle unhandled exceptions in ASP.NET?.

Answer Posted / s

try
{
here u have to write ur code
}
catch (Exception ex)
{
here if u get any error it was handled by Exception ex
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of asp.net mvc framework? : asp.net mvc

783


Why do you use the app_code folder in asp.net?

804


What are the various types of cookies in asp.net?

781


In the Repeater control which way you can edit?

872


What is the use of web.config file?

772


What is the difference between c# and .net?

805


Which authentication uses a combination of windows and iis authentication?

828


What is server transfer?

707


What is the mvc framework?

774


What is the significance of attaching a profile while creating a user?

779


How to disable cut, copy and paste in TextBox using jQuery in asp.net?

902


How do you open a page in a new window?

779


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

788


What is the syntax for datagrid and specifying columns?

2316


How can you identify that the page is post back?

794