ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How do you handle unhandled exceptions in ASP.NET?.
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you handle unhandled exceptions in ASP.NET?.
Answer
# 1
By giving 
Try
{
   any thing u want to give without exception
}

catch
{
     here exception takes
}
 
Is This Answer Correct ?    0 Yes 0 No
Madhu
 
  Re: How do you handle unhandled exceptions in ASP.NET?.
Answer
# 2
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 ?    0 Yes 0 No
S
 
 
 
  Re: How do you handle unhandled exceptions in ASP.NET?.
Answer
# 3
usually we handle exceptions in an appication using try ...
catch block.....If this structured exception too failed (as 
you said the case of unhandled exception)Then we can define 
user defined execeptions by creating a class which inherits 
the application exception.The exception that contained in 
the method of the class will automatically handled by the 
throw new exception statement ,which contains the error 
message.
 
Is This Answer Correct ?    0 Yes 0 No
Raviraj
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What methods are fired during the page load?  1
What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?  3
One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation . TCS5
How many Controls present in Asp dot net? TCS2
What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control. Syntax-Softtech1
Does the following statement executes successfully: Response.Write(?value of i = ? + i); TCS4
what is difference between User Control,Custom Contro1,Web server control and template controls  1
version information is mentioned in which file AG-Technologies3
Explain current thinking around IClonable.  1
Explain what a diffgram is, and a good use for one?  1
What is the difference between and ActiveX dll and control ? Microsoft1
can sn.exe can be used before gacutil.exe Accenture2
Types of configuration files and their differences ? Accenture1
what is shared assembly? Microsoft2
What is the namespace for encryption? Astadia1
WHT IS DIFFERENCES BETWEEN HTML CONTROLS AND SERVER CONTROLS. HCL9
What event fired during, when datagrid click?  1
Where on the Internet would you look for Web services? IBM1
What r all the controls in ASP.NET ?  3
view state data is stored in which format? Mind-Tree5
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com