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
Is data edited in the Repeater control?
If you have to replicate a set of controls(UI) across a number of web pages, what will you do
How many types of session in asp.net2.0
28 Answers ABC, DOT, First Europa, HCL, iRely, TCS,
is it possible to use web site without web server from remote place?
1 Answers ABC, Mannar Company, Quadrant,
Is asp.net 64-bit enabled? How?
Can you change a Master Page dynamically at runtime?
How to do state management in ASP.NET?
Can two different programming languages be mixed in a single ASMX file?
Explain how inline and code behind is used differently ?
What is content place holder?
Who will magage un-managed code?
Define the steps to set up validation control.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)