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 are the asp.net security controls?

1167


How can we apply themes to an asp.net application?

1037


What is the difference between client-side and server-side validations in webpages?

1021


In which event of page cycle is the viewstate available?

1022


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

1018


What is postback request?

980


Differences between “dataset” and “datareader”.

1041


Which method do you use to kill explicitly a users session?

1061


What is protected configuration?

1101


Is post back in asp.net?

958


When you use Ajax controls in the ASP.NET application?

1040


Define page fragment caching?

923


Is post back property in asp net?

1029


How can I have a particular web page in an asp.net application which displays its own error page?

1118


Explain the difference between AutoPostBack and IspostBack in ASP.NET?

1068