In this case if exception occure in Database which catch
block will be exexcuted?



In this case if exception occure in Database which catch block will be exexcuted?..

Answer / suja

If u Place
Try

catch ex as Sqlexception

then this Sqlexception catch will be executed

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is Http handler?

5 Answers   Accenture,


In what languages in ASP written?

4 Answers   Microsoft,


Dategrid filtering and sorting How can we sort all the fields at once?

3 Answers   Satyam,


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

0 Answers  


How do you validate the controls in an ASP .NET page?

3 Answers  






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

0 Answers  


what does membership class provide?

1 Answers  


In asp.net application, if a webpage or total application seems too slow or getting delayed to load completely in the browser. As a developer, what are the checkings or actions you will take in the application or server side to rectify the slowness or delay load or which are the factors related to this issue? How we can trace it?

1 Answers  


suppose we have two object;obj1 and obj2 can we assign obj2 to one1; and if yes; then after assigning suppose we delete obj2 then obj1 will retain obj2 value or not.

3 Answers  


How to use a Master Database in Asp.net?

0 Answers   MCN Solutions,


How many web config files can be created for an application?

0 Answers  


Security types in ASP/ASP.NET? Different Authentication modes?

4 Answers   QuadLabs Technologies,


Categories