You are using the try? catch block seen in the following
code segment, but no exceptions are ever caught by the catch
block. What is the problem?
SqlConnection cn =new sqlConnection(strSQL);
SqlDataSet ds;
try
{
cn.open(); //perform the data processing steps
??..
} catch (OleDbException e) {
?..
}
a) The exception class is wrong; it should be sqlErrors.
b) The exception class is wrong; it should be
sqlSyntaxExceptios.
c) The exception class is wrong; it should be sqlExceptions.
d) The exception class is wrong; it should be sqlExcptions.
Answers were Sorted based on User's Feedback
When should I use server transfer and response redirect?
Differentiate session and cookie
How to Convert a String into Float without using any built- in library of .NET String = "1235.45" needs to converted to a float
What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it?
What is the difference between the response.write() and response.output.write() methods?
Explain transparent caching with aop?
Explain about consistent programming model in the .NET framework?
Which tools of web site Administartion tool do you use to manage user,roles and rules?
What is the purpose of master page?
What is Web Gardening? How would using it affect a design ?
Explain global assembly cache.
How Clustered Index and Non clustered index stored on SQL server?