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

How does session authentication work?

0 Answers  


Explain the namespace classes used in asp.net mvc? : asp.net mvc

0 Answers  


how to encrypt a connection string in web.config file?

3 Answers   Hexaware,


If we write return statement in finally block will it works fine or throws any error?

1 Answers   Patni,


Difference between .NET and previous version?

0 Answers   Microsoft, TIPL,






How do you create master pages in asp.net?

2 Answers   Wipro,


Which is better viewstate or session?

0 Answers  


What are Master pages? How to define a Master page?

3 Answers  


What are the different session state management options available in asp.net?

0 Answers  


What is inproc mode in session?

0 Answers  


How can you get public key information?

1 Answers   Microsoft,


In cache where dats is stored and how(file or object?)

2 Answers  


Categories