Hi,
Requirement is:
try
{
\\SQL Query
}
catch(Exception i)
{
print a
}
catch(SQLQueryException e)
{
\\SQL Query
}
Got Exception in "try" block. Which "catch" throws
exception and Why???
Please provide the answer in detail..
Thanks for the help!!!
Answer Posted / kaushik
catch(SQLQueryException e)
{
\\SQL Query
}
would throw exception as a try can have more than one catch
block that the related exception can be handled individually
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Tell me about secure socket layer? How to make use of the technology?
Do you know what is lambda expressions in c#?
How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?
How to load a user control dynamically in runtime?
Explain the purpose of Remoting in .NET?
Is there built-in support for tracing?
How is meant by dll in .net?
Dynamic Fonts
What is UDDI and how to register the web service in it?
Why SOAP is required?
What is the transport protocol you use to call a seb service soap?
Explain how to load the contents of an xml file into an xmldocument object?
What is a garbage collector?
How does u handle this COM components developed in other programming languages in .NET?
What is the difference between odbc and ado?