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...


how to handle sql exceptions?

Answers were Sorted based on User's Feedback



how to handle sql exceptions?..

Answer / gomathi

Sql exception can be handled through try,catch and finally
block.

Is This Answer Correct ?    35 Yes 2 No

how to handle sql exceptions?..

Answer / minhajul islam

using try block we can trap the error as follows

try
{
//Datanase coding
}
catch(SQLException e1)
{
//Here you will get SQL Error message in e1 instance
}

Is This Answer Correct ?    1 Yes 0 No

how to handle sql exceptions?..

Answer / ashish maurya

1)Using TRy,catch,finally block.
2)using @@Error just after DML statements.

Is This Answer Correct ?    0 Yes 0 No

how to handle sql exceptions?..

Answer / prince

not possible

Is This Answer Correct ?    2 Yes 23 No

Post New Answer

More ASP.NET Interview Questions

What is a 307 redirect?

0 Answers  


how we deploy the asp.net 2.0 application

2 Answers   Logistics,


Can you store dataset in viewstate?

7 Answers   Microsoft,


To make Cache item dependent on a file,directory or other cached item ,you should create an instance of which clause?

1 Answers  


What is the maximum amount of memory any single process on windows can address?

0 Answers  


What permissions do asp.net applications posses by default?

0 Answers  


What is deff. saop and disco?

1 Answers  


How long does an http session last?

0 Answers  


Asp.net - How to find last error which occurred?

1 Answers   Abacus,


Is There any Third party tools are using in .Net Technologies? Can u Explain?

4 Answers   HCL,


How to handle error while project running on live

2 Answers  


What are typed datasets?

1 Answers   IBS,


Categories