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

How can u handle Un Managed Code Exceptions in ASP.Net?

1 Answers   Lara Technology,


What is WebService ?

8 Answers   Tanla Solutions, Yahoo,


Difference between viewstate, cache, session

2 Answers   Mind Tree,


what is the difference between response.write() and response.output.write()?

0 Answers  


Which template must you provide, in order to display data in a Repeater control?

3 Answers  


What are the cookies types in asp.net?

0 Answers  


Which control would you use if you needed to make sure the values in two different controls matched?

2 Answers  


What is the use of session in web application?

0 Answers  


One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .

6 Answers   TCS,


Caching techniques in .NET?

2 Answers   Microsoft,


What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?

1 Answers   Siebel,


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

0 Answers  


Categories