Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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.

Answer Posted / js_m

c

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is different authentication mechanisms used in ASP.NET?

1119


How do we access view state value of this page in the next page?

994


What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?

1119


explain code with multi inhertance

2102


Explain the significance of routing? : asp.net mvc

1047


Is react a template engine?

917


Explain the difference between server control and html control.

925


Which is better php or asp.net?

942


what is AutoEventWireUp and what is the use of This property explain in details?

1588


What is paging in context of Memory?

1102


Explain file-based dependency and key-based dependency.

970


Explain culture and uiculture values.

966


What is clickid?

1042


Where do we store our connection string in asp.net application?

1016


Who can consume WebAPI?

1004