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
what is the auto option in XML ?
When you use Ajax controls in the ASP.NET application?
What are sessions in asp net?
Where can I get the details on migration of existing projects using various technologies to asp.net?
what is state management in ASP.NET
Tell About Web.config ?
If I m using Session State Partioning where I have partitioned my session into 4 servers then how can I know that my session will be stored on which server?
Explain cashing in asp.net.
What are the differences between Dataset and DataReader?
List all templates of the repeater control.
Where is http session stored?
How can you change a Master page dynamically in which event of page life cycle?