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

Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

0 Answers  


Please briefly explain the usage of global.asax?

0 Answers  


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

1 Answers  


How many types of session state management options available in asp.net?

0 Answers  


What is a web server? What are the load limits in it?

0 Answers   Wipro,


If you are using components in your application, how can you handle exceptions raised in a component?

0 Answers   Accenture,


In my code i have 3 tables,i have to insert 3 tables data using single insert query so that i wrote transations in a sp.but what my problem is,in those 3 tables i have to include my empId from another table.when i'm passing values im getting error at this EmpId. how can i solve this error to execute insert query? plesae tell me the solution...

1 Answers  


What is the extension of master page in asp.net?

0 Answers  


What is the difference between stored procedure vs function?

0 Answers  


What are the 3 types of web?

0 Answers  


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

0 Answers   DELL,


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

0 Answers  


Categories