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 are the various security methods which IIS Provides apart from .NET ?

1 Answers  


What is the function of the ViewState property?

0 Answers   MindCracker,


What is the difference between stored procedure vs function?

0 Answers  


How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits?

3 Answers   CoreObjects,


What is clr? Difference between clr & cts?

0 Answers  


Is asp.net still used?

0 Answers  


How to kill session?

18 Answers   Protech,


What is web.config and machine.config ?

3 Answers   Collabor, NDPL, TCS,


Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

0 Answers  


write a sample code make use of xmltext writer

1 Answers   GCI,


Where is cookie used in asp.net?

0 Answers  


What is the first name space in .netF/W heirarchy

3 Answers   Wipro,


Categories