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 is the difference between GridView and Repeater controls in ASP.NET?

575


Give an example of cookie abuse.

595


Explain the Order of events in an asp.net page?

604


How do we sort the data from a dataset?

571


Explain the features that make asp.net more used framework? : asp.net mvc

476






Define viewstate in .net?

542


What is use of <% %> in asp.net?

546


What are sharepoint pages?

494


Can we have multiple master pages in asp net?

507


What is Bundling and Minification in MVC?

578


Elaborate differentiation between ViewState and SessionState?

609


What is the displayafter property in updateprogress control?

509


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

543


What is __ requestverificationtoken?

551


Mention the namespace that is used to include .net data provider for sql server in .net code?

504