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 will garbage collector run?
What is a page life cycle? What are the events in a page life cycle?
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control?
What is caching? What are the different types of caching?
What is a web api endpoint?
How to manage pagination in a page?
What is the concepts of globalization and localization in .net?
What do you mean by role-based security?
I have a component with 3 parameter and deployed to client side now i changed my dll method which takes 4 parameter.How can i deploy this without affecting the clent?s code ?
1 Answers Microsoft, Satyam, Wipro,
Write a code snippet to implement the indentation in json in web api.
Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process
1 Answers HCL, Siebel Systems, Visual Soft,
How many languages are supported by .NET at present time?