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   SiteMap shows list of All Categories in this site.
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
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Can we throw exception from catch block ?
 Question Submitted By :: Pranab Mukherjee
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can we throw exception from catch block ?
Answer
# 1
yes
 
Is This Answer Correct ?    1 Yes 1 No
Jignesh Panchal
 
  Re: Can we throw exception from catch block ?
Answer
# 2
Try
{
//Implemented code
}
catch(ex)
{
alert(ex.message)
}
 
Is This Answer Correct ?    1 Yes 3 No
Vamshi Krishna
 
 
 
  Re: Can we throw exception from catch block ?
Answer
# 3
Yes. A throw statement can be used in the catch block to re-
throw the exception, which has been caught by the catch 
statement. For example:

catch (InvalidCastException e) 
{
    throw (e);    // Rethrowing exception e
}
 
Is This Answer Correct ?    0 Yes 0 No
Nilesh
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?  2
How do you pass session values from one page to another ? Digital-GlobalSoft2
define silverlight and advantages ?  2
What is mvc structure? given example? How to show gridview control from business components and using class object arrays?  1
What is the difference between and ActiveX dll and control ? Microsoft1
What are all the ways to find out types of objects? HCL4
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application???? Sparsh6
What is the Global ASA(X) File?  2
Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close() Techno-Solutions3
How to limit table cell size with long strings? IBS1
About friend and Protected friend ? MMTS3
Difference between datagrid and datareader?  1
What is the difference between response.redirect and server.transfer, how to choose one among the other? 247Customer2
can i use store procedure in disconnected mode? give me answer  2
What is Http handler? Accenture4
Which control would you use if you needed to make sure the values in two different controls matched?  1
What is the difference between control and component?  2
relacement of websevices in .net 3.0? Mind-Tree1
What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it? Syntax-Softtech1
about view state and how validation controls will be executed on client and server Wipro2
 
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