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 errors in sqlserver



how to handle errors in sqlserver..

Answer / kiran vaidya

There is a separate class provided by .Net framework to
handle sql exceptions (errors).


try
{
.......
//Sql Operations
.......
}

catch(SqlException e)
{
//You can have all details of your sql exception by
//the object e.
}

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is difference between comparable and comparator?

0 Answers  


If all code is written in a try block and write a catch block with Exception type Exception .In that scenario will all the exceptions catched by that catch block? or any exceptions which will not be caught?

3 Answers   Honeywell,


What is multithreading? What are the problems that comes with multithreading and how to manage them?

0 Answers   MCN Solutions,


What is datareader c#?

0 Answers  


What are generic types?

0 Answers  


Name any three ways to pass parameters to a method in c#?

0 Answers  


Is c# the same as d flat?

0 Answers  


How do I link two windows forms in c#?

0 Answers  


what is unit testing

2 Answers  


What is data binding with example?

0 Answers  


Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.

0 Answers  


Explain the difference between Response.Write () and Response.Output.Write ().

0 Answers   Atos Origin,


Categories