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 difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
How to disable SOAP1.2 in Web Services?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
How does ASP.NET framework maps client side events to Server side events.?
Hi! Could any 1 please suggest me a free practice online exam for asp.net exams.. thanks
How can we do the client side validation and Server side validations? But i told that At client side by with the help of validations control or by javascript? But I dont know about the Server side controls Explain?
What is asp.net globalization?
What is the Difference between user and server controls?
What namespace does the Web page belong in the .NET Framework class hierarchy?
1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
How is the asp.net mvc architecture different from others? : asp.net mvc