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
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
Which control has default post back is enabled(true)?
0 Answers Sans Pareil IT Services,
How .net CLR works with n-tier application
Difference between abstract factory pattern and factory method pattern in .NET with example.
3 Answers ACS, IBM, Keane India Ltd,
Explain how to prepare culture-specific formatting in .net.
Differences between session state and Application state?
What are the new page events added in Asp.net 2.0 ?
which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row
which one is faster execute reader, scalar, execute non query ?
hi .net gurus here is my question " how does impersonate in asp.net works? explain with good example"
2 Answers PennyWise, TCS, Wipro,
How many types is controls is there in Asp.Net?If it means what are types of custom controls?Explain about user controls,Web server controls,Hrml server controls?
State Management (viewstate, session etc)
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)